iwlwifi: don't accept Tx packets when draining HW queues
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 7 Dec 2011 08:32:36 +0000 (10:32 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 16 Dec 2011 15:23:39 +0000 (07:23 -0800)
commitb5326db8bb058a32c22ed82a8e359a8fe6f0bf9b
tree6f93ef6ee357cd5ecf57c9e6a4e6e4a2facdf41f
parentfdf426a34afe7b1c17a6783f273062e3464cceaa
iwlwifi: don't accept Tx packets when draining HW queues

If the agg SM is in IWL_EMPTYING_HW_QUEUE_ADDBA or in
IWL_EMPTYING_HW_QUEUE_DELBA, we are not supposed to get Tx packets
from mac80211. mac80211 is supposed to buffer these packets for us.
A few issues have been identified in this mechanism, not all of them
were fixed.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c