mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-29 13:00:35 +00:00
ath9k/htc_drv_main: null dereference typo
This is a stray null dereference. We initialize "ista" properly later on. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
7ada88e5e5
commit
277a64d17e
@ -461,7 +461,7 @@ static int ath9k_htc_aggr_oper(struct ath9k_htc_priv *priv,
|
||||
struct ath_common *common = ath9k_hw_common(priv->ah);
|
||||
struct ath9k_htc_target_aggr aggr;
|
||||
struct ieee80211_sta *sta = NULL;
|
||||
struct ath9k_htc_sta *ista = (struct ath9k_htc_sta *) sta->drv_priv;
|
||||
struct ath9k_htc_sta *ista;
|
||||
int ret = 0;
|
||||
u8 cmd_rsp;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user