summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2013-05-09 17:53:18 +0000
committerOlivier Blin <blino@mageia.org>2013-05-09 17:53:18 +0000
commit2543990672ccaef0e7670f63e9cf662d5deaab8d (patch)
treed24116b5f97146b0f7234275f634ccf58831c9b3
parent0238f19648cc2d5bd81ff0206941a5d333d94569 (diff)
downloaddrakx-backup-do-not-use-2543990672ccaef0e7670f63e9cf662d5deaab8d.tar
drakx-backup-do-not-use-2543990672ccaef0e7670f63e9cf662d5deaab8d.tar.gz
drakx-backup-do-not-use-2543990672ccaef0e7670f63e9cf662d5deaab8d.tar.bz2
drakx-backup-do-not-use-2543990672ccaef0e7670f63e9cf662d5deaab8d.tar.xz
drakx-backup-do-not-use-2543990672ccaef0e7670f63e9cf662d5deaab8d.zip
detect_devices: check for phy80211 sysfs directory as well to detect wireless devices
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/detect_devices.pm4
-rw-r--r--perl-install/install/NEWS3
3 files changed, 9 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 23474aedf..ceb909a96 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- detect_devices: check for phy80211 sysfs directory as well to detect
+ wireless devices
+
Version 15.50 - 7 May 2013
- harddrake service:
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 08d344fac..6f70c92d2 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -703,7 +703,9 @@ sub is_wireless_interface {
#- wlan-ng (prism2_*) need some special tweaks to support it
#- use sysfs as fallback to detect wireless interfaces,
#- i.e interfaces for which get_wireless_stats() is available
- c::isNetDeviceWirelessAware($interface) || -e "/sys/class/net/$interface/wireless";
+ c::isNetDeviceWirelessAware($interface)
+ || -e "/sys/class/net/$interface/wireless"
+ || -e "/sys/class/net/$interface/phy80211";
}
sub get_all_net_devices() {
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index e964dd069..cbc458ff7 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- detect_devices: check for phy80211 sysfs directory as well to detect
+ wireless devices
+
Version 15.49 - 2 May 2013
- fix displaying ads (mga#9939)