aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index f4bcc589d674..07bf228d0b16 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -381,7 +381,7 @@ ieee80211_tx_h_unicast_ps_buf(struct ieee80211_tx_data *tx)
381#ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG 381#ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG
382 printk(KERN_DEBUG "STA %s aid %d: PS buffer (entries " 382 printk(KERN_DEBUG "STA %s aid %d: PS buffer (entries "
383 "before %d)\n", 383 "before %d)\n",
384 print_mac(mac, sta->addr), sta->aid, 384 print_mac(mac, sta->sta.addr), sta->sta.aid,
385 skb_queue_len(&sta->ps_tx_buf)); 385 skb_queue_len(&sta->ps_tx_buf));
386#endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ 386#endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */
387 if (tx->local->total_ps_buffered >= TOTAL_MAX_TX_BUFFER) 387 if (tx->local->total_ps_buffered >= TOTAL_MAX_TX_BUFFER)
@@ -392,7 +392,7 @@ ieee80211_tx_h_unicast_ps_buf(struct ieee80211_tx_data *tx)
392 if (net_ratelimit()) { 392 if (net_ratelimit()) {
393 printk(KERN_DEBUG "%s: STA %s TX " 393 printk(KERN_DEBUG "%s: STA %s TX "
394 "buffer full - dropping oldest frame\n", 394 "buffer full - dropping oldest frame\n",
395 tx->dev->name, print_mac(mac, sta->addr)); 395 tx->dev->name, print_mac(mac, sta->sta.addr));
396 } 396 }
397#endif 397#endif
398 dev_kfree_skb(old); 398 dev_kfree_skb(old);
@@ -411,7 +411,7 @@ ieee80211_tx_h_unicast_ps_buf(struct ieee80211_tx_data *tx)
411 else if (unlikely(test_sta_flags(sta, WLAN_STA_PS))) { 411 else if (unlikely(test_sta_flags(sta, WLAN_STA_PS))) {
412 printk(KERN_DEBUG "%s: STA %s in PS mode, but pspoll " 412 printk(KERN_DEBUG "%s: STA %s in PS mode, but pspoll "
413 "set -> send frame\n", tx->dev->name, 413 "set -> send frame\n", tx->dev->name,
414 print_mac(mac, sta->addr)); 414 print_mac(mac, sta->sta.addr));
415 } 415 }
416#endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ 416#endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */
417 clear_sta_flags(sta, WLAN_STA_PSPOLL); 417 clear_sta_flags(sta, WLAN_STA_PSPOLL);
@@ -528,7 +528,7 @@ ieee80211_tx_h_misc(struct ieee80211_tx_data *tx)
528 sband = tx->local->hw.wiphy->bands[tx->channel->band]; 528 sband = tx->local->hw.wiphy->bands[tx->channel->band];
529 529
530 if (tx->sta) 530 if (tx->sta)
531 info->control.aid = tx->sta->aid; 531 info->control.sta = &tx->sta->sta;
532 532
533 if (!info->control.retry_limit) { 533 if (!info->control.retry_limit) {
534 if (!is_multicast_ether_addr(hdr->addr1)) { 534 if (!is_multicast_ether_addr(hdr->addr1)) {
@@ -608,7 +608,7 @@ ieee80211_tx_h_misc(struct ieee80211_tx_data *tx)
608 } 608 }
609 609
610 if (tx->sta) 610 if (tx->sta)
611 info->control.aid = tx->sta->aid; 611 info->control.sta = &tx->sta->sta;
612 612
613 return TX_CONTINUE; 613 return TX_CONTINUE;
614} 614}