iwlagn: alwasy send RXON with disassociate falge before associate
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 7 May 2011 00:06:44 +0000 (17:06 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 13 May 2011 19:02:49 +0000 (12:02 -0700)
commit3083d03c215a2d1642dd12ede7ad61e24601b583
tree4f6fb3ac63c5ed33d6c2fa02205fc90999c1813f
parentdd5c940b42c1734e501d9494f7b99566b50a5a87
iwlagn: alwasy send RXON with disassociate falge before associate

Before send the RXON command with associated flag set, always do disassociate
first to make sure uCode is in the correct state.

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-tx.c