Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 18:52:44 -0700
From:      Sam Leffler <sam@freebsd.org>
To:        Doug Barton <dougb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r195029 - head/etc
Message-ID:  <4A4429EC.6050202@freebsd.org>
In-Reply-To: <200906260127.n5Q1RG7N070584@svn.freebsd.org>
References:  <200906260127.n5Q1RG7N070584@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote:
> Author: dougb
> Date: Fri Jun 26 01:27:16 2009
> New Revision: 195029
> URL: http://svn.freebsd.org/changeset/base/195029
>
> Log:
>   rtsol should not be run on the wireless NIC interfaces directly,
>   it will run on wlan0 instead.
>
> Modified:
>   head/etc/network.subr
>
> Modified: head/etc/network.subr
> ==============================================================================
> --- head/etc/network.subr	Fri Jun 26 01:10:10 2009	(r195028)
> +++ head/etc/network.subr	Fri Jun 26 01:27:16 2009	(r195029)
> @@ -863,6 +863,9 @@ network6_interface_setup()
>  			case ${i} in
>  			lo0|gif[0-9]*|stf[0-9]*|faith[0-9]*|lp[0-9]*|sl[0-9]*|tun[0-9]*|pflog[0-9]*|pfsync[0-9]*)
>  				;;
> +			# Wireless NIC cards are virtualized through the wlan interface
> +			an[0-9]*|ath[0-9]*|ipw[0-9]*|iwi[0-9]*|iwn[0-9]*|ral[0-9]*|wi[0-9]*|wl[0-9]*|wpi[0-9]*)
> +				;;
>  			*)
>  				rtsol_interfaces="${rtsol_interfaces} ${i}"
>  				;;
>
>
>   
Using device names is a bad idea.  Take a look at wpa_supplicant (for 
example) for how to check the media status to determine whether a device 
is wireless.

    Sam




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