aboutsummaryrefslogtreecommitdiff
path: root/init.d.misc/wpa_supplicant.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d.misc/wpa_supplicant.in')
-rw-r--r--init.d.misc/wpa_supplicant.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.d.misc/wpa_supplicant.in b/init.d.misc/wpa_supplicant.in
index f678d459..f1d65c5d 100644
--- a/init.d.misc/wpa_supplicant.in
+++ b/init.d.misc/wpa_supplicant.in
@@ -24,7 +24,9 @@ find_wireless()
case "$RC_UNAME" in
Linux)
for iface in /sys/class/net/*; do
- if [ -e "$iface"/wireless ]; then
+ if [ -e "$iface"/wireless -o \
+ -e "$iface"/phy80211 ]
+ then
echo "${iface##*/}"
return 0
fi