]> 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)
commit663c97d9ea53b4739837f7c06abb6b39b6abb839
tree6b28f4504b2aeda9d197a3bd6f001d6327ace21f
parent0a5c65bc08415af2a3a8b320f2077014642b2abe
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