diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-09-15 04:06:37 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-09-15 04:06:37 +0000 |
commit | 8709b05ba3de6b4db8fb42bfdbb137f93957070e (patch) | |
tree | a67d996377c6daaf1b6eb4c74df4fac0676db873 /perl-install/standalone/drakroam | |
parent | 972007c22ac6fdb2790a6125ebc881e91a332fc4 (diff) | |
download | drakx-backup-do-not-use-8709b05ba3de6b4db8fb42bfdbb137f93957070e.tar drakx-backup-do-not-use-8709b05ba3de6b4db8fb42bfdbb137f93957070e.tar.gz drakx-backup-do-not-use-8709b05ba3de6b4db8fb42bfdbb137f93957070e.tar.bz2 drakx-backup-do-not-use-8709b05ba3de6b4db8fb42bfdbb137f93957070e.tar.xz drakx-backup-do-not-use-8709b05ba3de6b4db8fb42bfdbb137f93957070e.zip |
use Managed mode if AP isn't Ad-Hoc
Diffstat (limited to 'perl-install/standalone/drakroam')
-rwxr-xr-x | perl-install/standalone/drakroam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam index 6b605ff1a..e7eaf4aad 100755 --- a/perl-install/standalone/drakroam +++ b/perl-install/standalone/drakroam @@ -124,7 +124,7 @@ sub configure_ap { $wireless_net->{BOOTPROTO} = $dhcp ? 'dhcp' : 'static'; $wireless_net->{WIRELESS_ENC_KEY} = $wireless_enc_key && network::wireless::convert_wep_key_for_iwconfig($wireless_enc_key, $wireless_enc_mode eq 'restricted'); - $wireless_net->{WIRELESS_MODE} = $network->{mode} eq 'Master' ? 'Managed' : $network->{mode}; + $wireless_net->{WIRELESS_MODE} = $network->{mode} eq 'Ad-Hoc' ? $network->{mode} : 'Managed'; if ($has_roaming || $wireless_enc_mode eq 'wpa-psk') { $wireless_net->{WIRELESS_WPA_DRIVER} = network::wireless::wpa_supplicant_get_driver($wireless_module); |