diff --git a/src/datastorage.c b/src/datastorage.c index 801d329..504d472 100644 --- a/src/datastorage.c +++ b/src/datastorage.c @@ -66,9 +66,13 @@ int go_next_help(char sort_order[], int i, probe_entry entry, break; // frequency + // mac is 5 ghz or 2.4 ghz? case 'f': return entry.freq < next_entry.freq && - mac_is_equal(entry.client_addr, next_entry.client_addr); + if(entry.freq >= 5000) && + if(next_entry.freq <= 5000) && + //entry.freq < 5 && + mac_is_equal(entry.client_addr, next_entry.client_addr); break; // signal strength (RSSI)