summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-14 08:35:43 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-14 08:35:43 +0000
commit497aa5f4256e5559479b0cac69623cf1ae6de7fd (patch)
tree6ea467228a7ff93f000974f8b983502e16503a63 /perl-install/network
parent7466d855be4762e4db2643928347e4295b6f6d3c (diff)
downloaddrakx-497aa5f4256e5559479b0cac69623cf1ae6de7fd.tar
drakx-497aa5f4256e5559479b0cac69623cf1ae6de7fd.tar.gz
drakx-497aa5f4256e5559479b0cac69623cf1ae6de7fd.tar.bz2
drakx-497aa5f4256e5559479b0cac69623cf1ae6de7fd.tar.xz
drakx-497aa5f4256e5559479b0cac69623cf1ae6de7fd.zip
(get_eth_cards_names) let detect_devices->firewire_probe() set the
device description
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/ethernet.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 1dbc2e9d5..113e6fb6a 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -81,12 +81,7 @@ sub get_eth_cards {
sub get_eth_cards_names {
my (@all_cards) = @_;
- {
- map {
- $_->[2] ||= "Firewire (IEE1394) Network Adapter" if $_->[1] eq 'ip1394';
- $_->[0] => join(': ', $_->[0], $_->[2]);
- } @all_cards;
- };
+ { map { $_->[0] => join(': ', $_->[0], $_->[2]) } @all_cards };
}
#- returns (link_type, mac_address)