summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/tools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 26e09dd6e..e77bd471f 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -282,7 +282,7 @@ sub get_interface_type {
member($interface->{TYPE}, "xDSL", "ADSL") && "adsl" ||
$interface->{DEVICE} =~ /^ippp/ && "isdn" ||
$interface->{DEVICE} =~ /^ppp/ && "modem" ||
- detect_devices::is_wireless_interface($interface->{DEVICE}) && "wifi" ||
+ (detect_devices::is_wireless_interface($interface->{DEVICE}) || exists $interface->{WIRELESS_MODE}) && "wifi" ||
detect_devices::is_lan_interface($interface->{DEVICE}) && "ethernet" ||
"unknown";
}