diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-08-19 13:37:46 +0300 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2016-10-02 12:49:38 -0400 |
commit | bb5c68e0d5a1057b46e454992269c13e043d375e (patch) | |
tree | c30911152d1610d015be5bde822002b17152172f /fs | |
parent | c3e7a0e520e62317fbc567838e562ecea16901cb (diff) |
ath9k: fix using sta->drv_priv before initializing it
[ Upstream commit 7711aaf08ad3fc4d0e937eec1de0a63620444ce7 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions