summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_ioctl.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-10-25 23:32:24 +0000
committersam <sam@FreeBSD.org>2008-10-25 23:32:24 +0000
commit514df7862ade63d3a0328363565b840215d9488d (patch)
treebcae641d7d5b223e910d2135d93ecde149e97c92 /sys/net80211/ieee80211_ioctl.c
parentf6c797f98760c5e3df2bd5d21f2461c238f7e697 (diff)
downloadFreeBSD-src-514df7862ade63d3a0328363565b840215d9488d.zip
FreeBSD-src-514df7862ade63d3a0328363565b840215d9488d.tar.gz
change ieee80211_sta_join to take an explicit channel instead of
using the value in the scan parameters; this will be used to fix issues with 11b operation
Diffstat (limited to 'sys/net80211/ieee80211_ioctl.c')
-rw-r--r--sys/net80211/ieee80211_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_ioctl.c b/sys/net80211/ieee80211_ioctl.c
index cab8b33..ae39fd6 100644
--- a/sys/net80211/ieee80211_ioctl.c
+++ b/sys/net80211/ieee80211_ioctl.c
@@ -1463,7 +1463,7 @@ setmlme_assoc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN],
if (lookup.se == NULL)
return ENOENT;
mlmedebug(vap, mac, IEEE80211_MLME_ASSOC, 0);
- if (!ieee80211_sta_join(vap, lookup.se))
+ if (!ieee80211_sta_join(vap, lookup.se->se_chan, lookup.se))
return EIO; /* XXX unique but could be better */
return 0;
}
OpenPOWER on IntegriCloud