summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/wireless.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/connection/wireless.pm')
-rw-r--r--lib/network/connection/wireless.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index 0a4f891..203dbef 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -593,6 +593,7 @@ sub build_ifcfg_settings {
WIRELESS_MODE => $self->{access}{network}{mode},
if_($self->need_wpa_supplicant,
WIRELESS_WPA_DRIVER => wpa_supplicant_get_driver($self->get_driver),
+ WIRELESS_WPA_REASSOCIATE => bool2yesno($self->need_wpa_supplicant_reassociate),
MII_NOT_SUPPORTED => 'no',
),
WIRELESS_ESSID => $self->{access}{network}{essid},
@@ -709,6 +710,11 @@ sub is_wpa_supplicant_blacklisted {
is_old_rt2x00($module);
}
+sub need_wpa_supplicant_reassociate {
+ my ($self) = @_;
+ $self->get_driver eq 'rt61pci';
+}
+
sub need_rt2x00_iwpriv {
my ($self) = @_;
is_old_rt2x00($self->get_driver) && $self->{access}{network}{encryption} eq 'wpa-psk';