summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ar9170/ar9170.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2009-10-17 23:56:43 +0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 23:48:34 +0300
commit02bdf5b48a2cd90a5d036eab68e6f65adb200140 (patch)
tree5c19c3a7d0ddadc409bef825ef86c2e6ac963372 /drivers/net/wireless/ath/ar9170/ar9170.h
parent4ad177b5c860dc0b1083eccc55957daf4a116b90 (diff)
downloadlinux-02bdf5b48a2cd90a5d036eab68e6f65adb200140.tar.xz
ar9170: atomic pending A-MPDU counter
A ref-counting bug emerged after testing ar9170usb's HT implementation on a bigger SMP/SMT system without the usual _debugging_ overhead. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ar9170/ar9170.h')
-rw-r--r--drivers/net/wireless/ath/ar9170/ar9170.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ar9170/ar9170.h b/drivers/net/wireless/ath/ar9170/ar9170.h
index ec034af26980..9f9459860d82 100644
--- a/drivers/net/wireless/ath/ar9170/ar9170.h
+++ b/drivers/net/wireless/ath/ar9170/ar9170.h
@@ -231,7 +231,7 @@ struct ar9170 {
struct sk_buff_head tx_status_ampdu;
spinlock_t tx_ampdu_list_lock;
struct list_head tx_ampdu_list;
- unsigned int tx_ampdu_pending;
+ atomic_t tx_ampdu_pending;
/* rxstream mpdu merge */
struct ar9170_rxstream_mpdu_merge rx_mpdu;