Skip to content
Snippets Groups Projects
Commit 277a64d1 authored by Dan Carpenter's avatar Dan Carpenter Committed by John W. Linville
Browse files

ath9k/htc_drv_main: null dereference typo


This is a stray null dereference.  We initialize "ista" properly later on.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarSujith <Sujith.Manoharan@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 7ada88e5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment