summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-28 10:57:25 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-28 10:57:25 +0000
commit114272f1b64a917618d3c5d276614de5fe868d9d (patch)
treea28d7a27acd36c7ce39c68ff389979e31c8434cd
parent0edd36d12518eb16816af9ce2c5d05bb694cdea6 (diff)
downloaddrakx-backup-do-not-use-114272f1b64a917618d3c5d276614de5fe868d9d.tar
drakx-backup-do-not-use-114272f1b64a917618d3c5d276614de5fe868d9d.tar.gz
drakx-backup-do-not-use-114272f1b64a917618d3c5d276614de5fe868d9d.tar.bz2
drakx-backup-do-not-use-114272f1b64a917618d3c5d276614de5fe868d9d.tar.xz
drakx-backup-do-not-use-114272f1b64a917618d3c5d276614de5fe868d9d.zip
do not rely on broken ethtool from hostap drivers
-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