git: network.subr: Workaround race between wpa_supplicant and dhcpcd

Aaron LI aly at crater.dragonflybsd.org
Fri Dec 14 06:21:12 PST 2018


commit e9136cbfc9bca1a07ab401f4e82a641eed0a004c
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Dec 12 12:06:17 2018 +0800

    network.subr: Workaround race between wpa_supplicant and dhcpcd
    
    Insert a 1-second delay after starting wpa_supplicant(8) to workaround
    the race between it and dhcpcd(8), which can modify the interface's
    state and break wpa_supplicant's ongoing SSID scan.
    
    dhclient(8) doesn't have such an issue with wpa_supplicant.
    
    Tested-by: me, Daniel Bilik <ddb at neosystem.org>

Summary of changes:
 etc/network.subr | 8 ++++++++
 1 file changed, 8 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e9136cbfc9bca1a07ab401f4e82a641eed0a004c


-- 
DragonFly BSD source repository


More information about the Commits mailing list