P2P: Use more precise device timestamping for group clients
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Wed, 10 Jun 2015 08:43:36 +0000 (11:43 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 14 Jun 2015 20:16:55 +0000 (23:16 +0300)
commit4e8817f7f00d9a64add247d22115942c3eecd393
treed784f1c455a7d222930f98a7acf8bb4341b6dd15
parent0799b3f89991033c3310c9e389693070d4311880
P2P: Use more precise device timestamping for group clients

When adding group clients to the P2P peer list, use the driver provided
BSS entry timestamp instead of the current time. Otherwise, the time
comparison which is made in p2p_add_device() doesn't make sense.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
src/p2p/p2p.c