summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-03 04:02:15 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-03 04:02:15 +0000
commit24264b1c18ea48b27a217e5d42485c89b63f1c61 (patch)
tree645976cf4e749b85bdb405827e3ee01b2cd96a31 /lib/network
parentf7174a54861866279a2a231969221a0ebd5c515e (diff)
downloaddrakx-net-24264b1c18ea48b27a217e5d42485c89b63f1c61.tar
drakx-net-24264b1c18ea48b27a217e5d42485c89b63f1c61.tar.gz
drakx-net-24264b1c18ea48b27a217e5d42485c89b63f1c61.tar.bz2
drakx-net-24264b1c18ea48b27a217e5d42485c89b63f1c61.tar.xz
drakx-net-24264b1c18ea48b27a217e5d42485c89b63f1c61.zip
do not write MII_NOT_SUPPORTED in wireless.d files (so that its value
does not get overwritten when switching networks)
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/network.pm b/lib/network/network.pm
index 0654f36..b90018e 100644
--- a/lib/network/network.pm
+++ b/lib/network/network.pm
@@ -230,7 +230,7 @@ sub write_wireless_conf {
my %wireless_ifcfg = %$ifcfg;
# FIXME: be smarter to keep only DHCP/IP settings here
delete $wireless_ifcfg{$_}
- foreach qw(DEVICE);
+ foreach qw(DEVICE MII_NOT_SUPPORTED);
write_interface_settings(\%wireless_ifcfg, $wireless_file);
}