ath9k: fix tx pending frames accounting for dropped packets
authorFelix Fietkau <nbd@openwrt.org>
Sun, 30 Jun 2013 10:02:13 +0000 (12:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 17 Jul 2013 18:34:48 +0000 (14:34 -0400)
commita4943ccbc316fd74d3612d7a5984a91ab7e5dc8c
tree1574d8c4ec0a334d5875cc8fe3cf3e4dff789446
parentbcfb879432094c267c35a7ff75d953d3a66c193a
ath9k: fix tx pending frames accounting for dropped packets

When dropping packets that have gone far enough into the tx path, the
pending frame counter needs to be decreased.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c