diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-08-19 13:37:46 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-08-22 19:07:56 +0300 |
commit | 7711aaf08ad3fc4d0e937eec1de0a63620444ce7 (patch) | |
tree | 524d8c58e2ad0b2ed4293cff298b6dab50ad4b0c /Documentation/hwmon | |
parent | 05860bed491b114a9f2d7a4f6e09fb02c0b69056 (diff) |
ath9k: fix using sta->drv_priv before initializing it
A station pointer can be passed to the driver on tx, before it has been
marked as associated. Since ath9k_sta_state was initializing the entry
too late, it resulted in some spurious crashes.
Fixes: df3c6eb34da5 ("ath9k: Use sta_state() callback")
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions