mac80211: lazily stop queues in add_pending
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Mar 2012 09:04:28 +0000 (11:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Apr 2012 18:54:11 +0000 (14:54 -0400)
commit4644ae89033872a62b4fea6ca96b958e115efdc0
tree579d4471e25d2ff6368242655d08f863f57fcefe
parentada151252655b63409860e0795993cb369e667cc
mac80211: lazily stop queues in add_pending

When adding pending SKBs there's no need to
stop all queues, we only need to stop those
that we're adding frames to. Implement that
by lazily stopping a queue as we add an SKB.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/util.c