iwlagn: fix PAN queues
authorJohannes Berg <johannes.berg@intel.com>
Thu, 11 Nov 2010 02:25:46 +0000 (18:25 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 16 Nov 2010 15:46:18 +0000 (07:46 -0800)
commitcfa1da7e9133be9280990b2a64fa7696924c8d9a
tree2446eac54ef262d3c7593dbba40fe2b0b1456564
parentea9b307f8e859186a6791e0d508c5993448ac900
iwlagn: fix PAN queues

Currently, when a PAN queue needs to be
stopped, we erroneously stop queue number 5
(for example) with mac80211 -- which doesn't
even exist!

To avoid that problem, recalculate the swq_id
for all queues when setting up the queues,
and don't use the default identity mapping
that is acceptable for devices which don't
support PAN.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-ucode.c