From bbf178e3dbf4ca0ecab87449a0ff989789f64b12 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Sat, 26 Jan 2019 12:46:15 +0100 Subject: [PATCH] fixed wifi.show.sort by rssi --- modules/wifi_show.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/wifi_show.go b/modules/wifi_show.go index ee51f35a..db1180b0 100644 --- a/modules/wifi_show.go +++ b/modules/wifi_show.go @@ -164,6 +164,7 @@ func (w *WiFiModule) doSelection() (err error, stations []*network.Station) { case "rcvd": sort.Sort(ByWiFiRcvdSorter(stations)) case "rssi": + sort.Sort(ByRSSISorter(stations)) default: sort.Sort(ByRSSISorter(stations)) }