summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-13 10:56:42 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-13 10:56:42 +0000
commit9b61b2c67b7c971e763b60504b4ed361b64d965d (patch)
tree552d6ba8eb8ecd8427a09048624941995e49e1cd /perl-install/network/tools.pm
parent41d38f7c702f49c60bf331847e90b27ff7cd896e (diff)
downloaddrakx-9b61b2c67b7c971e763b60504b4ed361b64d965d.tar
drakx-9b61b2c67b7c971e763b60504b4ed361b64d965d.tar.gz
drakx-9b61b2c67b7c971e763b60504b4ed361b64d965d.tar.bz2
drakx-9b61b2c67b7c971e763b60504b4ed361b64d965d.tar.xz
drakx-9b61b2c67b7c971e763b60504b4ed361b64d965d.zip
consider a device as wifi even if it isn't plugged (useful in manage wizard)
Diffstat (limited to 'perl-install/network/tools.pm')
-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";
}