[PATCH] p2p: consider age for the p2p scan results

Jouni Malinen j
Tue Dec 25 01:24:45 PST 2012


On Sun, Dec 09, 2012 at 12:08:47PM +0200, Arik Nemtsov wrote:
> Cfg80211 caches the scan results according the
> channel number. Due to the 15 sec aging this
> might cause the user mode to see more than one
> scan result with the same BSSID, e.g. - one
> scan result for the p2p-device and one for the
> p2p-GO (once it's enabled).
> 
> Fix this by updating the device entry only if
> the new peer entry is newer than the one
> previously stored.

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list