commit 3910b9d9c3b0c2c0c4de9c50ee54854e770d214b
parent 2dea8bcc6985b814058774e87e94d2536fe48693
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Fri, 31 Jul 2020 03:31:31 +0200
p2p: Use a longer DHCP timeout
With some devices the 10 seconds are not enough for the P2P Group Owner
to give us an address but I think we still want to use a timeout as
short as possible so that the user doesn't wait too long if the
connection isn't working.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/p2p.c b/src/p2p.c
@@ -667,7 +667,7 @@ static void p2p_start_dhcp(struct p2p_device *dev)
if (!l_settings_get_uint(iwd_get_config(), "P2P", "DHCPTimeout",
&dhcp_timeout_val))
- dhcp_timeout_val = 10; /* 10s default */
+ dhcp_timeout_val = 20; /* 20s default */
if (!dev->conn_netconfig) {
dev->conn_netconfig = netconfig_new(ifindex);