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)
commit2b730daacee6c318bce7b6373c19909e36a74590
tree9fd2b28079afae8672cd5bfb695e74abdba0cddf
parenta23108248a9d41400e686becddb5584b3a3fec1e
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