mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
[ifconfig] handle IBSS mediatype correctly.
Right now net80211 is configured as type IBSS but then treats it as mediatype ADHOC. This doesn't change that; it just correctly handles being given a mediatype of IBSS.
This commit is contained in:
parent
913565851c
commit
db4eb9fec2
1 changed files with 2 additions and 0 deletions
|
|
@ -4085,6 +4085,8 @@ get80211opmode(int s)
|
|||
}
|
||||
if (ifmr.ifm_current & IFM_IEEE80211_HOSTAP)
|
||||
return IEEE80211_M_HOSTAP;
|
||||
if (ifmr.ifm_current & IFM_IEEE80211_IBSS)
|
||||
return IEEE80211_M_IBSS;
|
||||
if (ifmr.ifm_current & IFM_IEEE80211_MONITOR)
|
||||
return IEEE80211_M_MONITOR;
|
||||
if (ifmr.ifm_current & IFM_IEEE80211_MBSS)
|
||||
|
|
|
|||
Loading…
Reference in a new issue