ath9k_htc: Protect RX stream variables
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 6 Apr 2010 09:58:11 +0000 (15:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Apr 2010 19:24:09 +0000 (15:24 -0400)
commit46baa1a24945b5813097af5a632db721f9c9d03b
tree5d25196c55cc0c9223ef2500f5065b70d5115447
parent62c33447fa720d71b05bbc626b01351a4889c2d7
ath9k_htc: Protect RX stream variables

Use a spin lock to prevent concurrent access
to variables dealing with RX stream mode handling.
Currently, no protection is implemented - which
causes problems in RX.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hif_usb.c
drivers/net/wireless/ath/ath9k/hif_usb.h