summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ar9170/usb.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2009-10-17 21:56:51 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 21:48:34 +0100
commit731d6bfc2d201958cfa3d08c7acff218497bbd50 (patch)
tree447fbafa00626e9a8be8d56d5a1c739c0e488b48 /drivers/net/wireless/ath/ar9170/usb.h
parentar9170: atomic pending A-MPDU counter (diff)
downloadlinux-731d6bfc2d201958cfa3d08c7acff218497bbd50.tar.xz
linux-731d6bfc2d201958cfa3d08c7acff218497bbd50.zip
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.h2
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 {
bool req_one_stage_fw;
spinlock_t tx_urb_lock;
- unsigned int tx_submitted_urbs;
+ atomic_t tx_submitted_urbs;
unsigned int tx_pending_urbs;
struct completion cmd_wait;