svn commit: r195029 - head/etc
Sam Leffler
sam at freebsd.org
Fri Jun 26 01:52:45 UTC 2009
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
More information about the svn-src-head
mailing list