]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: fix dual-mode RXON
authorJohannes Berg <johannes.berg@intel.com>
Fri, 27 May 2011 15:40:26 +0000 (08:40 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 1 Jun 2011 19:36:32 +0000 (15:36 -0400)
commit9d34db54ef82ae500e8198e6d68efb3f1f83a369
treec49499d5be294f4e8d8297a246ff3a8264640bd8
parent87cc73caed207206989cb3f95ba1c585edcc479a
iwlagn: fix dual-mode RXON

 The PAN context has three states: disabled, disassociated
 and associated. It seems that wasn't quite as much of an
 issue in previous versions of the microcode, but now we
 really have to use all the three states properly. So add
 code to switch accordingly.

Additionally, PAN parameters need to be sent differently
and the timing for PAN RXON needs to be inbetween.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c