iwlwifi: disable aggregation queue if stopped early
authorJohannes Berg <johannes.berg@intel.com>
Mon, 23 Aug 2010 14:57:17 +0000 (07:57 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Aug 2010 18:34:54 +0000 (14:34 -0400)
commit18c121d7558a550e8e48956fbd389759a850ab53
treeeeef362906bcd2d2394052e9c58f202d62ce72e9
parentbefe8c469baebe8a0fb5bd9b7cd4afd8c54ebbd5
iwlwifi: disable aggregation queue if stopped early

When aggregation is stopped again for some reason
before the queue we selected has drained, we will
currently leak the TX queue and keep it enabled
for aggregation. Normally this doesn't happen, so
the problem is rarely seen.

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