mac80211: catch queue stop underflow
authorJohannes Berg <johannes.berg@intel.com>
Tue, 24 Nov 2015 14:29:53 +0000 (15:29 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Dec 2015 13:43:32 +0000 (14:43 +0100)
commit856142cdaa483099f50cac70a16898ead8e4094d
treeaf50ae58dbdf72df0bac750ae1019784a942e8eb
parent63b4d8b3736b83126ea531c536eff9f76e4cd739
mac80211: catch queue stop underflow

If some code stops the queues more times than having started
(for when refcounting is used), warn on and reset the counter
to 0 to avoid blocking forever.

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