ath9k: fix oops on trying to hold the wrong spinlock
commitdd1f7982f569821f0f35237644e1900456adc58e
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 3 Oct 2008 22:45:26 +0000 (3 15:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 21:21:12 +0000 (22 14:21 -0700)
tree500c8f0ac65f23f953fd57d1054a9fb8f628e4f7
parentc068663ae65e507814545b59a8e2090f48a85613
ath9k: fix oops on trying to hold the wrong spinlock

commit a477e4e6d48d3ac7c7a75bad40585cb391e5c237 upstream

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.

Tested-by: Steven Noonan <steven@uplinklabs.net>
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath9k/core.h