iwlwifi: don't configure a txq that is being disabled
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 4 Jun 2012 13:48:17 +0000 (16:48 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 13 Jun 2012 07:01:03 +0000 (09:01 +0200)
commit1ce8658c08f1c1baa72e3cdea43a9d715dad08a2
treed29159293215215d16835ca773b5bd9a347248ab
parentf22d33289ae61c79aa27170f7b9e4b2b2e95281d
iwlwifi: don't configure a txq that is being disabled

This is not needed, we just need to tell the SCD not to use
that queue. We will reconfigure that queue when we will use
it again.

Clean up a bit the code on the way.

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