mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Report ad hoc mode correctly.
Submitted by: udp <udp@sneakerz.org>
This commit is contained in:
parent
0a811cbf0c
commit
aabb3df7da
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86403
@ -164,6 +164,8 @@ 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