diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-04-18 13:37:33 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-18 13:37:33 -0400 |
commit | dbd717e37bf1409fd250d13aef2cab07bcae8c88 (patch) | |
tree | 1e8c0b94388bf7a5822a49ff3c47bddc06382c2b /net/mac80211/ibss.c | |
parent | 9fe5642f4a3b13beb43c2633db7df22dd9d99250 (diff) | |
parent | fd09c85fe15aa66a69f091ba178817d5ef82476d (diff) | |
download | kernel_goldelico_gta04-dbd717e37bf1409fd250d13aef2cab07bcae8c88.zip kernel_goldelico_gta04-dbd717e37bf1409fd250d13aef2cab07bcae8c88.tar.gz kernel_goldelico_gta04-dbd717e37bf1409fd250d13aef2cab07bcae8c88.tar.bz2 |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r-- | net/mac80211/ibss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index 33fd8d9..cef7c29 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c @@ -457,8 +457,8 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata, * fall back to HT20 if we don't use or use * the other extension channel */ - if ((channel_type == NL80211_CHAN_HT40MINUS || - channel_type == NL80211_CHAN_HT40PLUS) && + if (!(channel_type == NL80211_CHAN_HT40MINUS || + channel_type == NL80211_CHAN_HT40PLUS) || channel_type != sdata->u.ibss.channel_type) sta_ht_cap_new.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40; |