diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-02-28 10:57:25 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-02-28 10:57:25 +0000 |
commit | 114272f1b64a917618d3c5d276614de5fe868d9d (patch) | |
tree | a28d7a27acd36c7ce39c68ff389979e31c8434cd | |
parent | 0edd36d12518eb16816af9ce2c5d05bb694cdea6 (diff) | |
download | drakx-114272f1b64a917618d3c5d276614de5fe868d9d.tar drakx-114272f1b64a917618d3c5d276614de5fe868d9d.tar.gz drakx-114272f1b64a917618d3c5d276614de5fe868d9d.tar.bz2 drakx-114272f1b64a917618d3c5d276614de5fe868d9d.tar.xz drakx-114272f1b64a917618d3c5d276614de5fe868d9d.zip |
do not rely on broken ethtool from hostap drivers
-rw-r--r-- | perl-install/network/ethernet.pm | 3 |
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 |