All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH/Resend] mac80211: Start monitor work on restart
@ 2011-06-10 15:00 Paul Stewart
  2011-06-19  8:12 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Stewart @ 2011-06-10 15:00 UTC (permalink / raw)
  To: linux-wireless; +Cc: nbd, johannes

Trigger connection monitor on resume from suspend.  Since we
have been sleeping, there is reason to suspect that we might
not still be associated.  The speed of detecting loss of
{connection,authentication} is worth the cost of the small
additional traffic at resume.

Signed-off-by: Paul Stewart <pstew@chromium.org>
---
 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 d595265..c188238 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -2206,6 +2206,7 @@ void ieee80211_sta_restart(struct ieee80211_sub_if_data *sdata)
 		add_timer(&ifmgd->chswitch_timer);
 	ieee80211_sta_reset_beacon_monitor(sdata);
 	ieee80211_restart_sta_timer(sdata);
+	ieee80211_queue_work(&sdata->local->hw, &sdata->u.mgd.monitor_work);
 }
 #endif
 
-- 
1.7.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH/Resend] mac80211: Start monitor work on restart
  2011-06-10 15:00 [PATCH/Resend] mac80211: Start monitor work on restart Paul Stewart
@ 2011-06-19  8:12 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2011-06-19  8:12 UTC (permalink / raw)
  To: Paul Stewart; +Cc: linux-wireless, nbd

On Fri, 2011-06-10 at 07:00 -0800, Paul Stewart wrote:
> Trigger connection monitor on resume from suspend.  Since we
> have been sleeping, there is reason to suspect that we might
> not still be associated.  The speed of detecting loss of
> {connection,authentication} is worth the cost of the small
> additional traffic at resume.

Acked-by: Johannes Berg <johannes@sipsolutions.net>

> Signed-off-by: Paul Stewart <pstew@chromium.org>
> ---
>  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 d595265..c188238 100644
> --- a/net/mac80211/mlme.c
> +++ b/net/mac80211/mlme.c
> @@ -2206,6 +2206,7 @@ void ieee80211_sta_restart(struct ieee80211_sub_if_data *sdata)
>  		add_timer(&ifmgd->chswitch_timer);
>  	ieee80211_sta_reset_beacon_monitor(sdata);
>  	ieee80211_restart_sta_timer(sdata);
> +	ieee80211_queue_work(&sdata->local->hw, &sdata->u.mgd.monitor_work);
>  }
>  #endif
>  



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-19  8:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-10 15:00 [PATCH/Resend] mac80211: Start monitor work on restart Paul Stewart
2011-06-19  8:12 ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.