Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes: >> + 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() I agree. I'll send v2 after a quick test. -- Kalle Valo -- 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