diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-11-13 17:56:06 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-11-13 17:56:06 +0000 |
commit | 95e8d238e2521d72b09967d3a69386d08d32a209 (patch) | |
tree | 91e85ae38c2cc83e503e795fdc03cdab8c362893 | |
parent | 5bb276443850a9540c2be8b7c81ed6c7e7f6547d (diff) | |
download | drakx-net-95e8d238e2521d72b09967d3a69386d08d32a209.tar drakx-net-95e8d238e2521d72b09967d3a69386d08d32a209.tar.gz drakx-net-95e8d238e2521d72b09967d3a69386d08d32a209.tar.bz2 drakx-net-95e8d238e2521d72b09967d3a69386d08d32a209.tar.xz drakx-net-95e8d238e2521d72b09967d3a69386d08d32a209.zip |
reload networks list from wpa_supplicant before checking if a network
is configured (fixes showing configure window again when clicking
Connect right after Configure)
-rw-r--r-- | lib/network/connection/wireless.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm index 823be56..3d6a267 100644 --- a/lib/network/connection/wireless.pm +++ b/lib/network/connection/wireless.pm @@ -367,6 +367,12 @@ sub refresh_roaming_ids { get_networks($self) if $self->{control}{roaming}; } +sub selected_network_is_configured { + my ($self) = @_; + $self->refresh_roaming_ids; + $self->SUPER::selected_network_is_configured; +} + sub guess_network { my ($_self) = @_; #- FIXME: try to find the AP matching $self->{ifcfg}{WIRELESS_ESSID}; |