iwlwifi: don't disable AGG queues that are not enabled
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 3 May 2012 21:22:06 +0000 (14:22 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 May 2012 21:27:54 +0000 (17:27 -0400)
commit8ff44ef26afc313af667ab48fc82b6e4d8bc525b
tree45f32b3b2cd541c01f4f1c180c227f926fc0e47a
parenta46c3e424b2325c2592b65999466d4445e410b24
iwlwifi: don't disable AGG queues that are not enabled

If the BA session is torn down before we had a chance to start it
we shouldn't disable the AGG tx queues that weren't enabled.
This can happen in two cases:

1) We get a delBA before we drained our Tx queues in agg start flow
2) We didn't get the (successfull) addBA response on time

Reported-by: Daniel Chyan <dchyan@princeton.edu>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@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-tx.c