diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-12-09 09:41:17 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-12-09 09:41:17 +0000 |
commit | 02f8eab9d55599fa3ac93962eaeb2b2aef3832cf (patch) | |
tree | bbd209dc77996c2d9d6392c07ad5a0776b3a1764 /lib/network/connection/wireless.pm | |
parent | 34fc705e3ae71bfb0b956e172804c8962e5487bb (diff) | |
download | drakx-net-02f8eab9d55599fa3ac93962eaeb2b2aef3832cf.tar drakx-net-02f8eab9d55599fa3ac93962eaeb2b2aef3832cf.tar.gz drakx-net-02f8eab9d55599fa3ac93962eaeb2b2aef3832cf.tar.bz2 drakx-net-02f8eab9d55599fa3ac93962eaeb2b2aef3832cf.tar.xz drakx-net-02f8eab9d55599fa3ac93962eaeb2b2aef3832cf.zip |
make connection managers use mandi when available
Diffstat (limited to 'lib/network/connection/wireless.pm')
-rw-r--r-- | lib/network/connection/wireless.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm index ff48fb8..03fa9cc 100644 --- a/lib/network/connection/wireless.pm +++ b/lib/network/connection/wireless.pm @@ -355,9 +355,9 @@ sub load_interface_settings { } sub get_networks { - my ($self) = @_; + my ($self, $o_net) = @_; require network::monitor; - ($self->{networks}, $self->{control}{roaming}) = network::monitor::list_wireless(undef, $self->get_interface); + ($self->{networks}, $self->{control}{roaming}) = network::monitor::list_wireless($o_net && $o_net->{monitor}, $self->get_interface); $self->probed_networks; $self->{networks}; } |