]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ipw2x00: age scan results on resume
authorDan Williams <dcbw@redhat.com>
Wed, 11 Feb 2009 18:26:06 +0000 (13:26 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:43 +0000 (14:52 -0500)
commitc3d72b968129ad4aec86c5fc8d2380f01ebebc53
treebb1d4054bba06cab388b6ecfee6d2dddef4e7108
parentbc8263f1d86946ffe97eb249fc1d6660da1e1055
ipw2x00: age scan results on resume

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@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2x00/ieee80211.h
drivers/net/wireless/ipw2x00/ipw2100.c
drivers/net/wireless/ipw2x00/ipw2100.h
drivers/net/wireless/ipw2x00/ipw2200.c
drivers/net/wireless/ipw2x00/ipw2200.h
drivers/net/wireless/ipw2x00/libipw_module.c
drivers/net/wireless/ipw2x00/libipw_rx.c
drivers/net/wireless/ipw2x00/libipw_wx.c