diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | lib/network/connection_manager.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -12,6 +12,7 @@ - Change prism54 wifi driver to p54pci/p54usb (#52018) - Don't guess gateway and nameserver if not specified (#28033) - Sort wireless networks by signal level by default +- Fix inverted wireless networks signal level sorting 0.86.1: - ignore non-fatal wpa_supplicant messages (#54002) diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 37c8606..e6b2a83 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -304,7 +304,7 @@ sub create_networks_list { my ($sortable, $iter_left, $iter_right) = @_; my $s1 = $cmanager->{connection}{networks}{$sortable->get($iter_left, 0)}->{signal_strength}; my $s2 = $cmanager->{connection}{networks}{$sortable->get($iter_right, 0)}->{signal_strength}; - return $s2 <=> $s1; + return $s1 <=> $s2; }); $cmanager->{gui}{networks_list}->get_column(3)->set_sort_column_id(3); $cmanager->{gui}{networks_list}->get_model->set_sort_func (3, sub { |