iwlagn: reprogram AP STA after assoc
authorJohannes Berg <johannes.berg@intel.com>
Thu, 11 Nov 2010 02:25:48 +0000 (18:25 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 16 Nov 2010 15:46:35 +0000 (07:46 -0800)
commit2b5f7a679c2ae34407f6cc9387e77b563578bfdc
treebbd9eee3ec9925d132b4dbf044871b23997c8279
parent893654de3ff41a4f5037397d06a3f853bbbb3484
iwlagn: reprogram AP STA after assoc

Instead of unconditionally sending unassoc RXON,
before any assoc RXON, re-send only the AP STA
entry which is required after the BSSID has been
programmed into the device to set up internal
filters in the microcode properly.

This fixes some issues that we correlated with
sending a lot of RXON commands to the device.

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