iwlagn: fix RXON issues
authorJohannes Berg <johannes.berg@intel.com>
Wed, 10 Nov 2010 17:56:45 +0000 (09:56 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:52 +0000 (13:26 -0500)
commit52d980c01353202332ff4322f3f41db0c49816a5
treefc730451ac0b41800612da19b1b7fe674a82b7a7
parent2e1fea43aa170e18beb8378465e595e18cd08f6e
iwlagn: fix RXON issues

The RXON rework resulted in a massive loss of
throughput because we weren't programming the
device completely correctly -- the BSSID has
to be programmed into the device before the
AP station is uploaded. To fix this, simply
always send the unassoc RXON, i.e. even when
it was already unassoc so that the BSSID and
some other parameters are updated properly.

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