]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix HT40 co-ex scan for some pri/sec channel switches
authorJouni Malinen <j@w1.fi>
Sat, 15 Mar 2014 14:42:29 +0000 (16:42 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 15 Mar 2014 17:04:31 +0000 (19:04 +0200)
commit49b74430d94cf84157f77ce025004f5de2e75c37
tree25263cb127930e9d1224d5f92c7352e520bd618d
parent018ead4218f62543d2b211ec6e8a9a30d85351e6
Fix HT40 co-ex scan for some pri/sec channel switches

Secondary channel was compared incorrectly (-4/4 vs. actual channel
number) which broke matching neighboring 40 MHz BSSes and only the
no-beacons-on-secondary-channel rule was applied in practice. Once
sec_chan was fixed, this triggered another issue in this function where
both rules to switch pri/sec channels could end up getting applied in a
way that effectively canceled the switch.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/hw_features.c