iwlwifi: fix FIFO vs. queue confusion
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 6 Nov 2009 22:52:51 +0000 (14:52 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Nov 2009 20:23:43 +0000 (15:23 -0500)
commit1a716557a5ed3b814cb32b8be79848d53e470871
tree9c2ef89f9038edffd3eb31094fcc67d8c478964f
parenta221e6f7b48ee2d9352827af8aec8b49272b5b43
iwlwifi: fix FIFO vs. queue confusion

When I added that code setting the swq_id, I evidently
did not understand the distinction between FIFO and TX
queue yet and added code to compare a queue ID and a
FIFO number, which is bogus.

However, the code there need not be this specific, it
can just set all queues to the identity mapping which
will be overwritten by the aggregation queue code. As
a bit of defensive coding, don't assign an swq_id to
the command queue so that if we ever use it for frames
we notice quickly.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-tx.c