diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2009-10-17 15:56:51 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:34 -0400 |
commit | 731d6bfc2d201958cfa3d08c7acff218497bbd50 (patch) | |
tree | 447fbafa00626e9a8be8d56d5a1c739c0e488b48 /drivers/net/wireless/ath/ar9170/usb.h | |
parent | 02bdf5b48a2cd90a5d036eab68e6f65adb200140 (diff) |
ar9170usb: atomic pending urbs counter
This patch follows "ar9170: atomic pending A-MPDU counter"
idea and converts another critical counter to atomic_*.
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/usb.h')
-rw-r--r-- | drivers/net/wireless/ath/ar9170/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ar9170/usb.h b/drivers/net/wireless/ath/ar9170/usb.h index d098f4d5d2f2..a2ce3b169ceb 100644 --- a/drivers/net/wireless/ath/ar9170/usb.h +++ b/drivers/net/wireless/ath/ar9170/usb.h | |||
@@ -67,7 +67,7 @@ struct ar9170_usb { | |||
67 | bool req_one_stage_fw; | 67 | bool req_one_stage_fw; |
68 | 68 | ||
69 | spinlock_t tx_urb_lock; | 69 | spinlock_t tx_urb_lock; |
70 | unsigned int tx_submitted_urbs; | 70 | atomic_t tx_submitted_urbs; |
71 | unsigned int tx_pending_urbs; | 71 | unsigned int tx_pending_urbs; |
72 | 72 | ||
73 | struct completion cmd_wait; | 73 | struct completion cmd_wait; |