mwifiex: don't use IEEE80211_MAX_QUEUES
authorJohannes Berg <johannes.berg@intel.com>
Tue, 27 Mar 2012 12:07:59 +0000 (14:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Apr 2012 18:54:04 +0000 (14:54 -0400)
commit99fec5dee8f717daf2b1789e8ac5913863c6dee8
tree6b28f4504b2aeda9d197a3bd6f001d6327ace21f
parent81ddbb5c1188dfaa98c67832a751117fcacda75d
mwifiex: don't use IEEE80211_MAX_QUEUES

IEEE80211_MAX_QUEUES is an internal mac80211 value,
it is not guaranteed to be always 4. The firmware
API in mwifiex almost certainly doesn't care about
mac80211 changing though, so mwifiex shouldn't use
this value.

Maybe it should use IEEE80211_NUM_ACS instead and
that is what I'm doing here as at least that value
will probably never change, but maybe it should
have its own define instead.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/fw.h
drivers/net/wireless/mwifiex/main.h