svn commit: r309534 - head/etc

Andriy Voskoboinyk avos at FreeBSD.org
Sun Dec 4 15:58:35 UTC 2016


Author: avos
Date: Sun Dec  4 15:58:34 2016
New Revision: 309534
URL: https://svnweb.freebsd.org/changeset/base/309534

Log:
  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

Modified:
  head/etc/pccard_ether

Modified: head/etc/pccard_ether
==============================================================================
--- head/etc/pccard_ether	Sun Dec  4 15:55:59 2016	(r309533)
+++ head/etc/pccard_ether	Sun Dec  4 15:58:34 2016	(r309534)
@@ -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-head mailing list