Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2016 15:58:34 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309534 - head/etc
Message-ID:  <201612041558.uB4FwYQ1076172@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612041558.uB4FwYQ1076172>