diff options
| author | Felix Fietkau <nbd@nbd.name> | 2016-08-19 13:37:46 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-24 10:07:41 +0200 |
| commit | 17127b7c6951e4fbe5ec7a692b715a5533f7c149 (patch) | |
| tree | 1afbf848976b086a7fe693f9aebf9ac03220c30b /tools/perf/scripts/python | |
| parent | 10c2897d864e58ae7706bcb9c3b54b8d667dcb51 (diff) | |
ath9k: fix using sta->drv_priv before initializing it
commit 7711aaf08ad3fc4d0e937eec1de0a63620444ce7 upstream.
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")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
