]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 21 Apr 2017 08:12:10 +0000 (10:12 +0200)
commit6b0740de26f7dd8fac64b6634552fdaa3d04f5a1
tree39bb58a484ac74ad23e3d0cf325a8ace775a6717
parent53af9f180a0dbd9beff95652db82d90a4276729e
mac80211: unconditionally start new netdev queues with iTXQ support

BugLink: http://bugs.launchpad.net/bugs/1682130
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
net/mac80211/iface.c