device: increase carrier wait time to 6 seconds

Some NICs need longer to establish the link, increase the timeout from
5 to 6 seconds.

https://bugzilla.redhat.com/show_bug.cgi?id=1520826
This commit is contained in:
Beniamino Galvani 2018-01-05 16:55:55 +01:00
parent d50e8d3ec1
commit 156344b8be

View file

@ -87,7 +87,7 @@ _LOG_DECLARE_SELF (NMDevice);
#define DHCP_NUM_TRIES_MAX 3
#define DEFAULT_AUTOCONNECT TRUE
#define CARRIER_WAIT_TIME_MS 5000
#define CARRIER_WAIT_TIME_MS 6000
#define CARRIER_WAIT_TIME_AFTER_MTU_MS 10000
#define NM_DEVICE_AUTH_RETRIES_UNSET -1