]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: don't start new netdev queues if driver stopped
authorJohannes Berg <johannes.berg@intel.com>
Tue, 26 Mar 2013 21:23:20 +0000 (22:23 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 09:06:28 +0000 (11:06 +0200)
commita35709cf866f4c760a48e123d0b1076a8e0f1410
tree9fd2b28079afae8672cd5bfb695e74abdba0cddf
parent45386a3dc457f28adf7aef8585ef0c00fc341b82
mac80211: don't start new netdev queues if driver stopped

If a new netdev (e.g. an AP VLAN) is created while the driver
has queues stopped, the new netdev queues will be started even
though they shouldn't. This will lead to frames accumulating
on the internal mac80211 pending queues instead of properly
being held on the netdev queues.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c