ath9k: use correct hw for tx aggregation TX completion
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 3 Nov 2009 00:08:34 +0000 (16:08 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Nov 2009 22:09:02 +0000 (17:09 -0500)
commit76d5a9e83b6e72ebe651c08e6dc247a58469ddda
tree6acc345a823c4b4978c55caad482debbd158fd8b
parent68a89116157d9d479a854db6d79a9116be79cd99
ath9k: use correct hw for tx aggregation TX completion

When ath9k virtual wiphys are used the sc->hw will not always represent
the active hw, instead we need to get it from the skb->cb private
driver area. This ensures the right hw is used to find a sta for
the TX'd skb.

Cc: Jouni.Malinen <Jouni.Malinen@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c