From 114272f1b64a917618d3c5d276614de5fe868d9d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 28 Feb 2005 10:57:25 +0000 Subject: do not rely on broken ethtool from hostap drivers --- perl-install/network/ethernet.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') 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 -- cgit v1.2.1