On Tue, 2009-02-10 at 14:58 -0800, reinette chatre wrote: > On Tue, 2009-02-10 at 14:10 -0800, Dan Williams wrote: > > Scanned BSS entries are timestamped with jiffies, which doesn't > > increment across suspend and hibernate. On resume, every BSS in the > > scan list looks like it was scanned within the last 10 seconds, > > irregardless of how long the machine was actually asleep. Age scan > > results on resume with the time spent during sleep so userspace has a > > clue how old they really are. > > > > Signed-off-by: Dan Williams <dcbw@xxxxxxxxxx> > > --- > > This fixes NetworkManager and wpa_supplicant trying to connect to the AP > > associated with at suspend/hibernate time, which clearly may not exist > > at the location where the machine is waking up. > > > > v2: always set suspend_at > > Thank you. Found an issue, plus ieee80211_translate_scan() doesn't handle large unsigned network->last_seen values (leading to stuff like "Last beacon: -32131218ms ago"), so I'll post a v3 update. Dan -- 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