svn commit: r310233 - stable/11/etc

Andriy Voskoboinyk avos at FreeBSD.org
Sun Dec 18 20:40:23 UTC 2016


Author: avos
Date: Sun Dec 18 20:40:22 2016
New Revision: 310233
URL: https://svnweb.freebsd.org/changeset/base/310233

Log:
  MFC r309534:
  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).

Modified:
  stable/11/etc/pccard_ether

Modified: stable/11/etc/pccard_ether
==============================================================================
--- stable/11/etc/pccard_ether	Sun Dec 18 15:21:38 2016	(r310232)
+++ stable/11/etc/pccard_ether	Sun Dec 18 20:40:22 2016	(r310233)
@@ -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
 }


More information about the svn-src-stable-11 mailing list