Search Linux Wireless

Re: [PATCH] mac80211: fix beacon loss detection after scan

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

 



On Sat, 2009-04-18 at 23:46 +0300, Kalle Valo wrote:

> @@ -297,6 +297,13 @@ void ieee80211_scan_completed(struct ieee80211_hw *hw, bool aborted)
>  
>  	local->last_scan_completed = jiffies;
>  
> +	if (local->scan_sdata->vif.type == NL80211_IFTYPE_STATION)
> +		/*
> +		 * Need to update last_beacon to avoid beacon loss
> +		 * test to trigger.
> +		 */
> +		local->scan_sdata->u.mgd.last_beacon = jiffies;
> +

A little lower is a hook function for the MLME -- it would be good to
put this in there, see ieee80211_mlme_notify_scan_completed()

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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