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

Aaron LI aly at crater.dragonflybsd.org
Mon Dec 17 17:28:59 PST 2018


commit d33b5b477bbcd05cf0fafeb5323a427c80f6d5e9
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/d33b5b477bbcd05cf0fafeb5323a427c80f6d5e9


-- 
DragonFly BSD source repository


More information about the Commits mailing list