OSDN Git Service

ath9k: Fix station access in aggregation completion
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 27 Jan 2009 08:00:37 +0000 (13:30 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Jan 2009 18:38:24 +0000 (13:38 -0500)
commit1286ec6d63c557aa203ab5af56962a3d37181771
tree26b501e0bdf5d64962175cce852330ffd38dde48
parent1f7d6cbfa2a993ea0d714e8552c784eea75a046b
ath9k: Fix station access in aggregation completion

The ieee80211_sta pointer in the SKB's TX control info
area is not guaranteed to be valid after returning from the tx() callback.
Use ieee80211_find_sta() instead and return early if the station
is no longer present.

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