Back out previous commit.
This works for wi(4), but apparantly other wireless drivers seem to do the right thing. Submitter and yours truly both got Mislead(tm). Submitted by: udp <udp@sneakerz.org>
This commit is contained in:
parent
2ffc1262b0
commit
a72945b799
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86407
@ -164,8 +164,6 @@ media_status(s, info)
|
||||
/* XXX: Different value for adhoc? */
|
||||
if (ifmr.ifm_status & IFM_ACTIVE)
|
||||
printf("associated");
|
||||
else if (ifmr.ifm_status & IFM_AVALID)
|
||||
printf("ad hoc");
|
||||
else
|
||||
printf("no carrier");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user