summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index cd5c93ac1..88fb25555 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -146,6 +146,7 @@ sub real_main {
my $is_hotplug_blacklisted = sub {
bool2yesno(member($module, qw(b44 forcedeth madwifi_pci via-velocity)) ||
+ $is_wireless ||
find { $_->{device} eq $ntf_name } detect_devices::pcmcia_probe());
};
@@ -1051,7 +1052,8 @@ notation (for example, 1.2.3.4).")),
{ label => N("Netmask"), val => \$ethntf->{NETMASK}, disabled => sub { $auto_ip } },
),
{ text => N("Track network card id (useful for laptops)"), val => \$track_network_id, type => "bool" },
- { text => N("Network Hotplugging"), val => \$hotplug, type => "bool" },
+ if_(!$is_wireless,
+ { text => N("Network Hotplugging"), val => \$hotplug, type => "bool" }),
if_($netcnx->{type} eq "lan",
{ text => N("Start at boot"), val => \$onboot, type => "bool" },
),