diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 8c3dda5f00b2..92d898b901e9 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -661,7 +661,7 @@ static void ap_sta_ps_start(struct net_device *dev, struct sta_info *sta) | |||
661 | set_and_clear_sta_flags(sta, WLAN_STA_PS, WLAN_STA_PSPOLL); | 661 | set_and_clear_sta_flags(sta, WLAN_STA_PS, WLAN_STA_PSPOLL); |
662 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG | 662 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG |
663 | printk(KERN_DEBUG "%s: STA %s aid %d enters power save mode\n", | 663 | printk(KERN_DEBUG "%s: STA %s aid %d enters power save mode\n", |
664 | dev->name, print_mac(mac, sta->addr), sta->aid); | 664 | dev->name, print_mac(mac, sta->sta.addr), sta->sta.aid); |
665 | #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ | 665 | #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ |
666 | } | 666 | } |
667 | 667 | ||
@@ -685,7 +685,7 @@ static int ap_sta_ps_end(struct net_device *dev, struct sta_info *sta) | |||
685 | 685 | ||
686 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG | 686 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG |
687 | printk(KERN_DEBUG "%s: STA %s aid %d exits power save mode\n", | 687 | printk(KERN_DEBUG "%s: STA %s aid %d exits power save mode\n", |
688 | dev->name, print_mac(mac, sta->addr), sta->aid); | 688 | dev->name, print_mac(mac, sta->sta.addr), sta->sta.aid); |
689 | #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ | 689 | #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ |
690 | 690 | ||
691 | /* Send all buffered frames to the station */ | 691 | /* Send all buffered frames to the station */ |
@@ -702,7 +702,7 @@ static int ap_sta_ps_end(struct net_device *dev, struct sta_info *sta) | |||
702 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG | 702 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG |
703 | printk(KERN_DEBUG "%s: STA %s aid %d send PS frame " | 703 | printk(KERN_DEBUG "%s: STA %s aid %d send PS frame " |
704 | "since STA not sleeping anymore\n", dev->name, | 704 | "since STA not sleeping anymore\n", dev->name, |
705 | print_mac(mac, sta->addr), sta->aid); | 705 | print_mac(mac, sta->sta.addr), sta->sta.aid); |
706 | #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ | 706 | #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ |
707 | info->flags |= IEEE80211_TX_CTL_REQUEUE; | 707 | info->flags |= IEEE80211_TX_CTL_REQUEUE; |
708 | dev_queue_xmit(skb); | 708 | dev_queue_xmit(skb); |
@@ -1007,7 +1007,7 @@ ieee80211_rx_h_ps_poll(struct ieee80211_rx_data *rx) | |||
1007 | 1007 | ||
1008 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG | 1008 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG |
1009 | printk(KERN_DEBUG "STA %s aid %d: PS Poll (entries after %d)\n", | 1009 | printk(KERN_DEBUG "STA %s aid %d: PS Poll (entries after %d)\n", |
1010 | print_mac(mac, rx->sta->addr), rx->sta->aid, | 1010 | print_mac(mac, rx->sta->sta.addr), rx->sta->sta.aid, |
1011 | skb_queue_len(&rx->sta->ps_tx_buf)); | 1011 | skb_queue_len(&rx->sta->ps_tx_buf)); |
1012 | #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ | 1012 | #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ |
1013 | 1013 | ||
@@ -1032,7 +1032,7 @@ ieee80211_rx_h_ps_poll(struct ieee80211_rx_data *rx) | |||
1032 | */ | 1032 | */ |
1033 | printk(KERN_DEBUG "%s: STA %s sent PS Poll even " | 1033 | printk(KERN_DEBUG "%s: STA %s sent PS Poll even " |
1034 | "though there are no buffered frames for it\n", | 1034 | "though there are no buffered frames for it\n", |
1035 | rx->dev->name, print_mac(mac, rx->sta->addr)); | 1035 | rx->dev->name, print_mac(mac, rx->sta->sta.addr)); |
1036 | #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ | 1036 | #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */ |
1037 | } | 1037 | } |
1038 | 1038 | ||
@@ -2140,7 +2140,7 @@ static u8 ieee80211_rx_reorder_ampdu(struct ieee80211_local *local, | |||
2140 | /* if this mpdu is fragmented - terminate rx aggregation session */ | 2140 | /* if this mpdu is fragmented - terminate rx aggregation session */ |
2141 | sc = le16_to_cpu(hdr->seq_ctrl); | 2141 | sc = le16_to_cpu(hdr->seq_ctrl); |
2142 | if (sc & IEEE80211_SCTL_FRAG) { | 2142 | if (sc & IEEE80211_SCTL_FRAG) { |
2143 | ieee80211_sta_stop_rx_ba_session(sta->sdata, sta->addr, | 2143 | ieee80211_sta_stop_rx_ba_session(sta->sdata, sta->sta.addr, |
2144 | tid, 0, WLAN_REASON_QSTA_REQUIRE_SETUP); | 2144 | tid, 0, WLAN_REASON_QSTA_REQUIRE_SETUP); |
2145 | ret = 1; | 2145 | ret = 1; |
2146 | goto end_reorder; | 2146 | goto end_reorder; |