Search Linux Wireless

Re: [PATCH/Resend] mac80211: Start monitor work on restart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>

> Signed-off-by: Paul Stewart <pstew@xxxxxxxxxxxx>
> ---
>  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
>  


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux