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
@ -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…
x
Reference in New Issue
Block a user