diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2015-11-26 17:28:40 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2015-11-26 17:28:40 +0000 |
| commit | ce276fe26d920107764f19a0f0ab4417db08d418 (patch) | |
| tree | 3b679337f1c6457192172882263c5f6c1c311009 | |
| parent | bd6b2f9bef3d0ee392cd764d99928e1740d7884f (diff) | |
| download | src-ce276fe26d92010776.tar.gz src-ce276fe26d92010776.zip | |
[wpa] use IFM_IEEE80211_ADHOC for now on FreeBSD for IBSS operation.
PR: bin/203086
Submitted by: avos
Notes
Notes:
svn path=/head/; revision=291368
| -rw-r--r-- | contrib/wpa/src/drivers/driver_bsd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/wpa/src/drivers/driver_bsd.c b/contrib/wpa/src/drivers/driver_bsd.c index 408d14156edc..73f455f36ba3 100644 --- a/contrib/wpa/src/drivers/driver_bsd.c +++ b/contrib/wpa/src/drivers/driver_bsd.c @@ -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; |
