mac80211: unconditionally start new netdev queues with iTXQ support
authorJohannes Berg <johannes.berg@intel.com>
Wed, 29 Mar 2017 12:15:24 +0000 (14:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Apr 2017 10:41:12 +0000 (12:41 +0200)
commitc0321505df2eedfb468512d629cd198b1abc2d03
tree36b8203e5c40bd270e529c735f5d7586c9f90e46
parent703cebf6e978bb44a9752ddbe62e4330cbaa0e0c
mac80211: unconditionally start new netdev queues with iTXQ support

commit 7d65f82954dadbbe7b6e1aec7e07ad17bc6d958b upstream.

When internal mac80211 TXQs aren't supported, netdev queues must
always started out started even when driver queues are stopped
while the interface is added. This is necessary because with the
internal TXQ support netdev queues are never stopped and packet
scheduling/dropping is done in mac80211.

Fixes: 80a83cfc434b1 ("mac80211: skip netdev queue control with software queuing")
Reported-and-tested-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/iface.c