Message ID | 012401ce3b7f$6e0611e0$4a1235a0$@acksys.fr (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
--- a/net/mac80211/sta_info.c 2013-04-17 16:47:16.000000000 +0200 +++ b/net/mac80211/sta_info.c 2013-04-17 16:50:02.697623684 +0200 @@ -1036,7 +1036,8 @@ void ieee80211_sta_ps_deliver_wakeup(str BUILD_BUG_ON(BITS_TO_LONGS(IEEE80211_NUM_TIDS) > 1); sta->driver_buffered_tids = 0; - if (!(local->hw.flags & IEEE80211_HW_AP_LINK_PS)) + if (!(local->hw.flags & IEEE80211_HW_AP_LINK_PS) && + sta->sta_state >= IEEE80211_STA_ASSOC) drv_sta_notify(local, sdata, STA_NOTIFY_AWAKE, &sta->sta); skb_queue_head_init(&pending);