Return-path: Received: from nbd.name ([46.4.11.11]:35162 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752936Ab0KSVzp (ORCPT ); Fri, 19 Nov 2010 16:55:45 -0500 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: linville@tuxdriver.com, johannes@sipsolutions.net Subject: [PATCH 1/4] mac80211: restart beacon miss timer on system resume from suspend Date: Fri, 19 Nov 2010 22:55:37 +0100 Message-Id: <1290203740-57124-1-git-send-email-nbd@openwrt.org> Sender: linux-wireless-owner@vger.kernel.org List-ID: Signed-off-by: Paul Stewart Signed-off-by: Felix Fietkau --- net/mac80211/mlme.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 36b7ea3..7e24c3e 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -2051,6 +2051,7 @@ void ieee80211_sta_restart(struct ieee80211_sub_if_data *sdata) add_timer(&ifmgd->timer); if (test_and_clear_bit(TMR_RUNNING_CHANSW, &ifmgd->timers_running)) add_timer(&ifmgd->chswitch_timer); + ieee80211_sta_reset_beacon_monitor(sdata); } #endif -- 1.7.3.2