summaryrefslogtreecommitdiff
path: root/drivers/net/mace.h
diff options
context:
space:
mode:
authorDan Halperin <dhalperi@cs.washington.edu>2010-02-18 22:01:39 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-15 08:49:33 -0700
commit7f9bf0abd2abda4960fbf376295eb1c20022b455 (patch)
tree5f310a083cae766693d7ba49b508cb73585f6655 /drivers/net/mace.h
parent1109a2eae8cee1a3f7ee9d6904ad88625e2cc52f (diff)
iwlwifi: set HT flags after channel in rxon
commit 5e2f75b8993a0d83d469388b50716dd5551f2eb4 upstream. The HT extension channel settings require priv->staging_rxon.channel to be accurate. However, iwl_set_rxon_ht was being called before iwl_set_rxon_channel and thus HT40 could be broken unless another call to iwl_mac_config came in. This problem was recently introduced by "iwlwifi: Fix to set correct ht configuration" The particular setting in which I noticed this was monitor mode: iwconfig wlan0 mode monitor ifconfig wlan0 up ./iw wlan0 set channel 64 HT40- #./iw wlan0 set channel 64 HT40- tcpdump -i wlan0 -y IEEE802_11_RADIO would only catch HT40 packets if I issued the IW command twice. From visual inspection, iwl_set_rxon_channel does not depend on iwl_set_rxon_ht, so simply swapping them should be safe and fixes this problem. Signed-off-by: Daniel Halperin <dhalperi@cs.washington.edu> Acked-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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/mace.h')
0 files changed, 0 insertions, 0 deletions