]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Use hardcoded idle timeout of 10 seconds in P2P client role
authorJouni Malinen <j@w1.fi>
Sun, 18 Dec 2011 20:21:22 +0000 (22:21 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 18 Dec 2011 20:21:22 +0000 (22:21 +0200)
commitc81066153cf35808147db5945faa67b5e4c82f78
treea2df133f957ddc113f963fe8fed01c1f08aa62ab
parent4c2c6751738ced8a4cdb654117495b06afbbd8a5
P2P: Use hardcoded idle timeout of 10 seconds in P2P client role

The p2p_group_idle configuration parameter is much more useful for
GO role, so use a separate hardcoded value of 10 seconds in P2P
client role. In practice, this means that the P2P client role will
automatically tear down the group when the GO tears down the group.

The 10 second timeout is enough to recover from temporary disconnections
without unnecessary tearing down the group if the GO is still present
and allows the client to connect.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/config.h
wpa_supplicant/p2p_supplicant.c