From 22e04eec30f1604bfca5c511330f8d2fb635ba43 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 21 Mar 2005 16:57:03 +0000 Subject: is_lan_interface: do not list wifi%d interfaces as LAN devices (#14523) --- perl-install/detect_devices.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/detect_devices.pm') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 618cb2e6c..94a092824 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -558,12 +558,13 @@ sub is_lan_interface { # ippp%d are created by drivers/isdn/i4l/isdn_ppp.c # plip%d are created by drivers/net/plip.c # ppp%d are created by drivers/net/ppp_generic.c + # - wifi%d are created by 3rdparty/hostap/hostap_hw.c (pseudo statistics devices, #14523) # # we need both detection schemes since: # - get_netdevices() use the SIOCGIFCONF ioctl that does not list interfaces that are down # - /proc/net/dev does not list VLAN and IP aliased interfaces - $_[0] !~ /^(?:lo|ippp|isdn|plip|ppp|sit0)/; + $_[0] !~ /^(?:lo|ippp|isdn|plip|ppp|sit0|wifi)/; } sub getNet() { -- cgit v1.2.1