]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: check for channel location for 40MHz
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 12 Jun 2009 20:22:51 +0000 (13:22 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Jun 2009 19:05:52 +0000 (15:05 -0400)
commit80a904c1e0343b9166f84fd6fe9a86d68e3b495a
tree3b14c4980d8762f30517ec6946353c733b9377a5
parentb05c934d3be93bc83585f27360c5adaef8e412ec
iwlwifi: check for channel location for 40MHz

for both mixed and pure 40MHz, need to check for valid channel location.
if the specified channel not allow the channel location requested
(ABOVE, BELOW), then reject the Fat channel access

This fixes http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1988

("iwlwifi: checking for 40MHz mode" and "iwlwifi: check control channel
for pure 40MHz" combine with this to address the above bug. -- JWL)

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c