aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2010-11-20 10:53:26 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-11-22 15:58:41 -0500
commita9ab21133581580f6907abbc33fd3870e75dc935 (patch)
tree2339ec376e43a81e9913e36b250c29bd131f432d /drivers
parent3b1d6dfaaf89694c2aa56fe9a6b0f0221b98a209 (diff)
carl9170: fix init-self regression
The commit: "carl9170: tx path review" introduced a regression. gcc (with -Winit-self): tx.c:1264: warning: ‘super’ is used uninitialized in this function Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/carl9170/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/tx.c b/drivers/net/wireless/ath/carl9170/tx.c
index 688eede4851..aee5c9d89a1 100644
--- a/drivers/net/wireless/ath/carl9170/tx.c
+++ b/drivers/net/wireless/ath/carl9170/tx.c
@@ -1261,7 +1261,7 @@ static void carl9170_tx(struct ar9170 *ar)
1261static bool carl9170_tx_ampdu_queue(struct ar9170 *ar, 1261static bool carl9170_tx_ampdu_queue(struct ar9170 *ar,
1262 struct ieee80211_sta *sta, struct sk_buff *skb) 1262 struct ieee80211_sta *sta, struct sk_buff *skb)
1263{ 1263{
1264 struct _carl9170_tx_superframe *super = (void *) super; 1264 struct _carl9170_tx_superframe *super = (void *) skb->data;
1265 struct carl9170_sta_info *sta_info; 1265 struct carl9170_sta_info *sta_info;
1266 struct carl9170_sta_tid *agg; 1266 struct carl9170_sta_tid *agg;
1267 struct sk_buff *iter; 1267 struct sk_buff *iter;