summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-13 18:40:09 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-13 18:40:09 +0000
commit326061df45f63410f1c1aacdcad30c5c86edb5a8 (patch)
tree4df88e6b68d6c5774af9a43583ae8e9f3f948925 /lib/network/connection
parent95e8d238e2521d72b09967d3a69386d08d32a209 (diff)
downloaddrakx-net-326061df45f63410f1c1aacdcad30c5c86edb5a8.tar
drakx-net-326061df45f63410f1c1aacdcad30c5c86edb5a8.tar.gz
drakx-net-326061df45f63410f1c1aacdcad30c5c86edb5a8.tar.bz2
drakx-net-326061df45f63410f1c1aacdcad30c5c86edb5a8.tar.xz
drakx-net-326061df45f63410f1c1aacdcad30c5c86edb5a8.zip
use object notation
Diffstat (limited to 'lib/network/connection')
-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};
}