iwlwifi: fix 40MHz operation setting on cards that do not allow it
authorReinette Chatre <reinette.chatre@intel.com>
Mon, 14 Dec 2009 22:12:13 +0000 (14:12 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Dec 2009 16:32:14 +0000 (11:32 -0500)
commit6c3069b1e7e983e176a5f826e2edffefdd404a08
tree7e0b84234ecdac2912ea5e794412f2c56f2d499f
parentdc57a303faab8562b92e85df0d79c4a05d7e2a61
iwlwifi: fix 40MHz operation setting on cards that do not allow it

Some devices have 40MHz operation disabled entirely. Ensure that driver do
not enable 40MHz operation if a channel does not allow this.

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

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
CC: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-eeprom.c