From 7d3a36a88ee2630061156fd99dd47405d0fc4f19 Mon Sep 17 00:00:00 2001 From: Andriy Voskoboinyk Date: Sun, 4 Dec 2016 15:58:34 +0000 Subject: [PATCH] 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 --- etc/pccard_ether | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/pccard_ether b/etc/pccard_ether index 7d324a11b89b..bf4f9c231440 100755 --- a/etc/pccard_ether +++ b/etc/pccard_ether @@ -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 }