mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
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.
This commit is contained in:
parent
2dea8bcc69
commit
3910b9d9c3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user