mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
[wpa] use IFM_IEEE80211_ADHOC for now on FreeBSD for IBSS operation.
PR: bin/203086 Submitted by: avos
This commit is contained in:
parent
bd6b2f9bef
commit
ce276fe26d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291368
@ -1055,7 +1055,14 @@ wpa_driver_bsd_associate(void *priv, struct wpa_driver_associate_params *params)
|
||||
mode = 0 /* STA */;
|
||||
break;
|
||||
case IEEE80211_MODE_IBSS:
|
||||
/*
|
||||
* Ref bin/203086 - FreeBSD's net80211 currently uses
|
||||
* IFM_IEEE80211_ADHOC.
|
||||
*/
|
||||
#if 0
|
||||
mode = IFM_IEEE80211_IBSS;
|
||||
#endif
|
||||
mode = IFM_IEEE80211_ADHOC;
|
||||
break;
|
||||
case IEEE80211_MODE_AP:
|
||||
mode = IFM_IEEE80211_HOSTAP;
|
||||
|
Loading…
Reference in New Issue
Block a user