Wifi (macOS): fix protocol detection on Sequoia

This commit is contained in:
李通洲
2024-09-20 10:46:25 +08:00
parent 9b4053e9dc
commit 4ea5d6f4fe
+1 -1
View File
@@ -134,7 +134,7 @@ const char* ffDetectWifi(FFlist* result)
ffStrbufSetStatic(&item->conn.protocol, "802.11be (Wi-Fi 7)");
break;
default:
if (inf.activePHYMode < 64)
if (inf.activePHYMode < 8)
ffStrbufAppendF(&item->conn.protocol, "Unknown (%ld)", inf.activePHYMode);
else if (sp || (sp = getWifiInfoBySystemProfiler(inf.interfaceName)))
{