diff options
Diffstat (limited to 'net')
-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 14be095b8528..23443de7ee4e 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -658,9 +658,9 @@ static void ap_sta_ps_start(struct sta_info *sta) | |||
658 | 658 | ||
659 | atomic_inc(&sdata->bss->num_sta_ps); | 659 | atomic_inc(&sdata->bss->num_sta_ps); |
660 | set_and_clear_sta_flags(sta, WLAN_STA_PS, WLAN_STA_PSPOLL); | 660 | set_and_clear_sta_flags(sta, WLAN_STA_PS, WLAN_STA_PSPOLL); |
661 | if (local->ops->sta_notify_ps) | 661 | if (local->ops->sta_notify) |
662 | local->ops->sta_notify_ps(local_to_hw(local), STA_NOTIFY_SLEEP, | 662 | local->ops->sta_notify(local_to_hw(local), &sdata->vif, |
663 | &sta->sta); | 663 | STA_NOTIFY_SLEEP, &sta->sta); |
664 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG | 664 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG |
665 | printk(KERN_DEBUG "%s: STA %pM aid %d enters power save mode\n", | 665 | printk(KERN_DEBUG "%s: STA %pM aid %d enters power save mode\n", |
666 | sdata->dev->name, sta->sta.addr, sta->sta.aid); | 666 | sdata->dev->name, sta->sta.addr, sta->sta.aid); |
@@ -677,9 +677,9 @@ static int ap_sta_ps_end(struct sta_info *sta) | |||
677 | atomic_dec(&sdata->bss->num_sta_ps); | 677 | atomic_dec(&sdata->bss->num_sta_ps); |
678 | 678 | ||
679 | clear_sta_flags(sta, WLAN_STA_PS | WLAN_STA_PSPOLL); | 679 | clear_sta_flags(sta, WLAN_STA_PS | WLAN_STA_PSPOLL); |
680 | if (local->ops->sta_notify_ps) | 680 | if (local->ops->sta_notify) |
681 | local->ops->sta_notify_ps(local_to_hw(local), STA_NOTIFY_AWAKE, | 681 | local->ops->sta_notify(local_to_hw(local), &sdata->vif, |
682 | &sta->sta); | 682 | STA_NOTIFY_AWAKE, &sta->sta); |
683 | 683 | ||
684 | if (!skb_queue_empty(&sta->ps_tx_buf)) | 684 | if (!skb_queue_empty(&sta->ps_tx_buf)) |
685 | sta_info_clear_tim_bit(sta); | 685 | sta_info_clear_tim_bit(sta); |