Ticket #176 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

wpa_supplicant init script requires deprecated kernel option to detect wireless interfaces

Reported by: lavish@gmail.com Owned by: roy
Priority: major Milestone:
Component: rc Version: 0.5
Keywords: Cc:

Description

openrc-0.5 needs /sys/class/net/<interface>/wireless/* to detect wireless interfaces, but those statistics files are enabled by the deprecated configure option CONFIG_WIRELESS_EXT_SYSFS.

init.d.misc/wpa_supplicant.in:

find_wireless()
{
	local iface=

	case "$RC_UNAME" in
	Linux)
		for iface in /sys/class/net/*; do
			if [ -e "$iface"/wireless ]; then
				echo "${iface##*/}"
				return 0
			fi
		done
		;;
	*)
...

Thanks for your work!
Marco

Change History

comment:1 Changed 14 months ago by roy

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.