summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-20 19:41:01 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-20 19:41:01 +0000
commit06a27ce5aef8e2887b29ef0d5f4d9daebce751b4 (patch)
treeacea03875f2932bd0784b2506a879843134f46ea /perl-install
parentd0783fce4aa3092d6a83ddead3e0224c16df82b9 (diff)
downloaddrakx-06a27ce5aef8e2887b29ef0d5f4d9daebce751b4.tar
drakx-06a27ce5aef8e2887b29ef0d5f4d9daebce751b4.tar.gz
drakx-06a27ce5aef8e2887b29ef0d5f4d9daebce751b4.tar.bz2
drakx-06a27ce5aef8e2887b29ef0d5f4d9daebce751b4.tar.xz
drakx-06a27ce5aef8e2887b29ef0d5f4d9daebce751b4.zip
ignore wmaster%d devices
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index a67ec5f83..b706d76da 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -620,8 +620,9 @@ sub is_lan_interface {
sub is_useful_interface {
# - sit0 which is *always* created by net/ipv6/sit.c, thus is always created since net.agent loads ipv6 module
# - wifi%d are created by 3rdparty/hostap/hostap_hw.c (pseudo statistics devices, #14523)
+ # - wmaster%d are created by net/mac80211/ieee80211.c ("master" 802.11 device)
# ax*, rose*, nr*, bce* and scc* are Hamradio devices (#28776)
- $_[0] !~ /^(?:lo|sit0|wifi|ax|rose|nr|bce|scc)/;
+ $_[0] !~ /^(?:lo|sit0|wifi|wmaster|ax|rose|nr|bce|scc)/;
}
sub is_wireless_interface {