iwlwifi: mvm: Do not consider invalid HW queues in queue mask
authorIlan Peer <ilan.peer@intel.com>
Sun, 18 Jan 2015 03:35:00 +0000 (22:35 -0500)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 22 Jan 2015 15:55:22 +0000 (17:55 +0200)
commit1008e442e3feb80502a8afddedc590ad444d5110
tree9419176579467f5f24c9ff1ede8777c1b87bfd59
parente583b50c072b17137c3a55f0129b69eb821e81df
iwlwifi: mvm: Do not consider invalid HW queues in queue mask

The iwl_mvm_mac_get_queues_mask() added vif->hw_queue[ac] to the
queue mask although it might be set to IEEE80211_INVAL_HW_QUEUE.
Fix it.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c