diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-08 12:23:20 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-10 14:56:46 -0400 |
commit | 277a64d17ee819161242ce3059a9c2d0f8dfd29c (patch) | |
tree | db013fdac0cd8aeae51eda4009e2701d402fa85b /drivers/net | |
parent | 7ada88e5e5d7b465de8d0441b4a8d890a602074f (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c index f50358605266..e75db06e8087 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c | |||
@@ -461,7 +461,7 @@ static int ath9k_htc_aggr_oper(struct ath9k_htc_priv *priv, | |||
461 | struct ath_common *common = ath9k_hw_common(priv->ah); | 461 | struct ath_common *common = ath9k_hw_common(priv->ah); |
462 | struct ath9k_htc_target_aggr aggr; | 462 | struct ath9k_htc_target_aggr aggr; |
463 | struct ieee80211_sta *sta = NULL; | 463 | struct ieee80211_sta *sta = NULL; |
464 | struct ath9k_htc_sta *ista = (struct ath9k_htc_sta *) sta->drv_priv; | 464 | struct ath9k_htc_sta *ista; |
465 | int ret = 0; | 465 | int ret = 0; |
466 | u8 cmd_rsp; | 466 | u8 cmd_rsp; |
467 | 467 | ||