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
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to