carl9170: fix tx_ampdu_upload counter
authorChristian Lamparter <chunkeey@googlemail.com>
Sun, 26 Sep 2010 20:49:34 +0000 (22:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 28 Sep 2010 19:47:56 +0000 (15:47 -0400)
commitcb139ecc0c030e8ccc736bd86cfef502c200825a
tree9d7a09f50e584d7f75689840bf7e78c941e80c07
parent042c53f6e84896701b67012ad525bc44ea6de25f
carl9170: fix tx_ampdu_upload counter

tx_ampdu_upload was not decreased when an a-MPDU
frame had to be kicked out from the tx_pending
queues.

This broke ampdu aggregation, because the scheduler
waits until tx_ampdu_upload drops to zero, before
making the next aggregate.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/main.c