]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: fix regulatory HT40 allowed check
authorFelix Fietkau <nbd@openwrt.org>
Fri, 11 Jan 2013 13:22:58 +0000 (14:22 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Jan 2013 13:32:20 +0000 (14:32 +0100)
commitea1fdbe6f81fa1cc647ccc426a0e9165b628cbdc
treef822db644128003a34f46d09ef05cae9a55a39ea
parent8b094e307efcc23053f7b0739bfaa3e8628487ba
wireless: fix regulatory HT40 allowed check

commit 5ff89456a68893437d1e697b3fc012bad304228f "regulatory: code cleanup"
changed is_ht40_allowed without considering that IEEE80211_CHAN_NO_HT40 is
not just one flag, but two.
This is causing HT40- to be blocked completely.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c