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