mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
[wpa] handle IBSS mediatype.
same as the previous commit to ifconfig - handle a mediatype of IBSS without failing/complaining. Internally inside wpa_s things treat IBSS/ADHOC as equivalent.
This commit is contained in:
parent
db4eb9fec2
commit
e1f2d1f39f
1 changed files with 2 additions and 0 deletions
|
|
@ -1497,6 +1497,8 @@ get80211opmode(struct bsd_driver_data *drv)
|
|||
}
|
||||
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;
|
||||
#ifdef IEEE80211_M_MBSS
|
||||
|
|
|
|||
Loading…
Reference in a new issue