Wifi: fixes 60 GHz band detection

This commit is contained in:
Carter Li
2026-05-09 11:01:50 +08:00
parent 44e2948b1d
commit 91f1c4db10
+1 -2
View File
@@ -27,8 +27,7 @@ bool ffPrintWifi(FFWifiOptions* options) {
char bandStr[8];
if (item->conn.frequency > 58000) {
strcpy(bandStr, "60");
}
if (item->conn.frequency > 40000) {
} else if (item->conn.frequency > 40000) {
strcpy(bandStr, "45");
} else if (item->conn.frequency > 5900) {
strcpy(bandStr, "6");