]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Do not change HT40 capability due to OBSS scan
authorJohannes Berg <johannes.berg@intel.com>
Sat, 9 Feb 2013 10:16:58 +0000 (12:16 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 9 Feb 2013 10:16:58 +0000 (12:16 +0200)
commit3aea5fbe3b4428afefe8fd2a28264c56a43aab6a
tree2464285a7b9a11112463dbcc9cdc3cfb4d6cf504
parenta24a5ccb28c2bc7af466e47b84dc346e6c54f062
hostapd: Do not change HT40 capability due to OBSS scan

The capability itself isn't really affected by an OBSS
scan, only the HT operation must then be restricted to
20 MHz. Change this, and therefore use the secondary
channel configuration to determine the setting of the
OP_MODE_20MHZ_HT_STA_ASSOCED flag.

This shouldn't really change anything functionally,
it just makes the code a little less confusing and
is also needed to implement more dynamic bandwidth
changes if ever desired.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
src/ap/hw_features.c
src/ap/ieee802_11_ht.c