summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/ethernet.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 0c23b66a9..7606945c0 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -58,8 +58,9 @@ sub get_eth_cards {
"p80211_prism2_pci" => 'prism2_pci',
"p80211_prism2_usb" => 'prism2_usb',
"ip1394" => "eth1394",
+ "hostap" => undef, #- should be either "hostap_plx", "hostap_pci" or "hostap_cs"
);
- $a = $fixes{$a} if $fixes{$a};
+ $a = $fixes{$a} if exists $fixes{$a};
# 1) try to match a PCMCIA device for device description:
if (my $b = find { $_->{device} eq $interface } @devs) { # PCMCIA case