]> 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)
commita7e33cfb90916da479bcdbc03f962c9a8d4ed8d3
tree9fd2b28079afae8672cd5bfb695e74abdba0cddf
parentdb70485334346f2da245e06266c8283811f8accd
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