From 8709b05ba3de6b4db8fb42bfdbb137f93957070e Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 15 Sep 2005 04:06:37 +0000 Subject: use Managed mode if AP isn't Ad-Hoc --- perl-install/standalone/drakroam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1