]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - net/mac80211/iface.c
mac80211: fix single queue drivers
authorJohannes Berg <johannes.berg@intel.com>
Mon, 7 May 2012 15:45:29 +0000 (17:45 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 16:46:04 +0000 (12:46 -0400)
commita9d3c05cca51d80ef2b9eddabf794c9458e36c2c
tree82cae7d9fc6ad945b76b08b65fe2f18f3a3aeec4
parent044e68c0cd01a70fd4929ce19ce52ba5df839b22
mac80211: fix single queue drivers

My queue management rework broke drivers that don't
have multiple AC queues and register a single queue
only, causing a warning:

WARNING: at net/mac80211/iface.c:162 ieee80211_check_queues

This was due to filling the queues wrongly and then
noticing the error when checking later.

Reported-and-Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c