iwlwifi: first deactivate a queue, then wipe out its data
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 14 Oct 2012 14:36:36 +0000 (16:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Oct 2012 14:33:28 +0000 (16:33 +0200)
commitac928f8dc8e8ee6c402f623723cad22a14394277
tree2cb50d0ec15af77e3897e69c981cabf2b71a894c
parent0adb52dee209ee816ba86da51d01977fdb173b22
iwlwifi: first deactivate a queue, then wipe out its data

Doing the opposite is wrong, the SCD wouldn't like someone
to clear its data while the queue is still active.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c