diff options
author | Sam Leffler <sam@FreeBSD.org> | 2008-10-25 23:32:24 +0000 |
---|---|---|
committer | Sam Leffler <sam@FreeBSD.org> | 2008-10-25 23:32:24 +0000 |
commit | 109592565640b4ba2cb6cf1d86cbfd86189ddbc0 (patch) | |
tree | bcae641d7d5b223e910d2135d93ecde149e97c92 /sys/net80211/ieee80211_ioctl.c | |
parent | f945bd7aa92da60881123bd0a701d4e90a80b0e8 (diff) |
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
Notes
Notes:
svn path=/head/; revision=184274
Diffstat (limited to 'sys/net80211/ieee80211_ioctl.c')
-rw-r--r-- | sys/net80211/ieee80211_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_ioctl.c b/sys/net80211/ieee80211_ioctl.c index cab8b33e4277..ae39fd68a504 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; } |