diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-11-12 14:15:09 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-11-12 14:15:09 +0000 |
commit | 714686487c579cd6434ccab19c3f9eb12e52603a (patch) | |
tree | 01df2b093be994b3e679471a1a6300d8ff16ddba /package | |
parent | 53d870958e2ad8d5f3478a639d17692991ed13fe (diff) |
hostapd: fix HT40 BSS scan checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18404 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/hostapd/patches/140-ht40_scan.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/hostapd/patches/140-ht40_scan.patch b/package/hostapd/patches/140-ht40_scan.patch new file mode 100644 index 000000000..b8fa6e38f --- /dev/null +++ b/package/hostapd/patches/140-ht40_scan.patch @@ -0,0 +1,11 @@ +--- a/hostapd/hw_features.c ++++ b/hostapd/hw_features.c +@@ -329,7 +329,7 @@ static int ieee80211n_check_40mhz_5g(str + if (!match) { + for (i = 0; i < scan_res->num; i++) { + struct wpa_scan_res *bss = scan_res->res[i]; +- ieee80211n_get_pri_sec_chan(bss, &pri_chan, &sec_chan); ++ ieee80211n_get_pri_sec_chan(bss, &bss_pri_chan, &bss_sec_chan); + if (pri_chan == bss_sec_chan && + sec_chan == bss_pri_chan) { + wpa_printf(MSG_INFO, "Switch own primary and " |