summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_scan_sta.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2007-11-02 05:22:25 +0000
committersam <sam@FreeBSD.org>2007-11-02 05:22:25 +0000
commite6720edef5fd9a70a152ea6edfe19c4568c5cb74 (patch)
tree31ef816fec1ce8d9e6eb861a98c569ed24053ce5 /sys/net80211/ieee80211_scan_sta.c
parent141114012a310427586190ec6c1ff78e7b0e6654 (diff)
downloadFreeBSD-src-e6720edef5fd9a70a152ea6edfe19c4568c5cb74.zip
FreeBSD-src-e6720edef5fd9a70a152ea6edfe19c4568c5cb74.tar.gz
sync 11n support with vap code base; many changes based on interop
testing with all major vendors MFC after: 1 week
Diffstat (limited to 'sys/net80211/ieee80211_scan_sta.c')
-rw-r--r--sys/net80211/ieee80211_scan_sta.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_scan_sta.c b/sys/net80211/ieee80211_scan_sta.c
index 4fbaf64..7a8ad06 100644
--- a/sys/net80211/ieee80211_scan_sta.c
+++ b/sys/net80211/ieee80211_scan_sta.c
@@ -1352,7 +1352,8 @@ notfound:
* specified, try to select a channel.
*/
if (ic->ic_des_chan == IEEE80211_CHAN_ANYC)
- chan = adhoc_pick_channel(ss);
+ chan = ieee80211_ht_adjust_channel(ic,
+ adhoc_pick_channel(ss), ic->ic_flags_ext);
else
chan = ic->ic_des_chan;
if (chan != NULL) {
OpenPOWER on IntegriCloud