]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98a444efff853ecc66cb9bbeb6239f42018747ae
tree6b28f4504b2aeda9d197a3bd6f001d6327ace21f
parent7c845b8c17b47305a9172664308abfcaf9790e72
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