diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-10-05 12:47:31 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-10-05 12:47:31 +0000 |
commit | eb55abc0f7bacca010a5c98c275a739f60fc6cb6 (patch) | |
tree | f97b2e0a54b40a137fe608501678824616f60c75 /lib/network/monitor.pm | |
parent | 5c5f19a419e2da2c5f9d4d338943bf7affac7c15 (diff) | |
download | drakx-net-eb55abc0f7bacca010a5c98c275a739f60fc6cb6.tar drakx-net-eb55abc0f7bacca010a5c98c275a739f60fc6cb6.tar.gz drakx-net-eb55abc0f7bacca010a5c98c275a739f60fc6cb6.tar.bz2 drakx-net-eb55abc0f7bacca010a5c98c275a739f60fc6cb6.tar.xz drakx-net-eb55abc0f7bacca010a5c98c275a739f60fc6cb6.zip |
do not show as selected the APs with same ESSID as current AP
Diffstat (limited to 'lib/network/monitor.pm')
-rw-r--r-- | lib/network/monitor.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/monitor.pm b/lib/network/monitor.pm index a1db598..5ae0f4a 100644 --- a/lib/network/monitor.pm +++ b/lib/network/monitor.pm @@ -68,7 +68,7 @@ sub list_wireless { }; foreach (@list) { if ((/^\s*$/ || /Cell/) && exists $net->{ap}) { - $net->{current} = to_bool($net->{essid} && $net->{essid} eq $current_essid || $net->{ap} eq $current_ap); + $net->{current} = to_bool($net->{ap} ? $net->{ap} eq $current_ap : $net->{essid} && $net->{essid} eq $current_essid); $networks{$net->{ap}} = $net; $net = {}; } |