summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/network/connection/wireless.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index 3d6a267..c1c37d6 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -713,7 +713,7 @@ sub connect {
if ($self->{control}{roaming}) {
my $network_id;
foreach (0 .. 1) {
- refresh_roaming_ids($self) if $_;
+ $self->refresh_roaming_ids if $_;
my $network = $self->get_selected_network;
$network_id = $network->{id} if $network && defined $network->{id};
}