mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 17:52:43 +00:00
Do not try to recreate wlan(4) interface if it already exists.
This should fix error messages caused by devd(8) during startup: Starting Network: lo0 wlan0. ... Starting devd. ifconfig: SIOCS80211: Device busy wpa_supplicant already running? (pid=323). MFC after: 2 weeks
This commit is contained in:
parent
bea8daa364
commit
7d3a36a88e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309534
@ -120,6 +120,9 @@ pccard_ether_restart()
|
||||
pccard_ether_startchildren()
|
||||
{
|
||||
for child in `get_if_var $ifn wlans_IF`; do
|
||||
if ifexists $child; then
|
||||
continue
|
||||
fi
|
||||
/etc/rc.d/netif quietstart $child
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user