diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-10-03 18:45:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-06 18:14:56 -0400 |
commit | a477e4e6d48d3ac7c7a75bad40585cb391e5c237 (patch) | |
tree | 9d090d6b00c92b7de9772b96d2a6055c213afcf6 /drivers/net/wireless | |
parent | 0345f37be64905846a1ef38378061d4c2730242e (diff) |
ath9k: fix oops on trying to hold the wrong spinlock
We were trying to hold the wrong spinlock due to a typo
on IEEE80211_BAR_CTL_TID_S's definition. We use this to
compute the tid number and then hold this this tid number's
spinlock.
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath9k/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/core.h b/drivers/net/wireless/ath9k/core.h index 80814c9910c9..5b4f1c48a618 100644 --- a/drivers/net/wireless/ath9k/core.h +++ b/drivers/net/wireless/ath9k/core.h | |||
@@ -309,7 +309,7 @@ void ath_descdma_cleanup(struct ath_softc *sc, | |||
309 | #define ATH_RX_TIMEOUT 40 /* 40 milliseconds */ | 309 | #define ATH_RX_TIMEOUT 40 /* 40 milliseconds */ |
310 | #define WME_NUM_TID 16 | 310 | #define WME_NUM_TID 16 |
311 | #define IEEE80211_BAR_CTL_TID_M 0xF000 /* tid mask */ | 311 | #define IEEE80211_BAR_CTL_TID_M 0xF000 /* tid mask */ |
312 | #define IEEE80211_BAR_CTL_TID_S 2 /* tid shift */ | 312 | #define IEEE80211_BAR_CTL_TID_S 12 /* tid shift */ |
313 | 313 | ||
314 | enum ATH_RX_TYPE { | 314 | enum ATH_RX_TYPE { |
315 | ATH_RX_NON_CONSUMED = 0, | 315 | ATH_RX_NON_CONSUMED = 0, |