MacBook Air M2 on macOS 27.2 can’t connect to UniFi Wi‑Fi on 5 GHz (error -3912). 2.4 GHz works.
Since updating my MacBook Air (M2) to macOS 27.2, it can’t hold a 5 GHz connection to my UniFi Dream Router 7 (UDR7). iPhones and other non-Apple devices have had no issue with wired or wireless connection on the same network and on other wireless networks and VLANs through the same gateway.
What happens:
- On my main WPA2/WPA3 (transition mode) network, the Mac connects briefly on 5 GHz and then drops. Its Wi‑Fi log shows WiFiNetworkDisconnectReason = INVALID_AKMS while using WPA3‑SAE. It then falls back to a distant 2.4 GHz access point at poor signal, so the connection keeps dropping.
- Once the Mac has joined that network with WPA3, it won’t connect to it with WPA2 (“incorrect security type”).
- I created a separate WPA2‑only, 5 GHz‑only network (PMF off, BSS Transition off, MLO off). It worked at first, then after a router restart the Mac couldn’t rejoin. The password prompt comes back immediately, and networksetup -setairportnetwork fails with error -3912. A brand‑new WPA2 network on 5 GHz fails the same way.
- The same new WPA2 network on 2.4 GHz connects immediately and is stable (0% loss, about 12 ms to the gateway). The Mac also works fine on an iPhone hotspot’s 5 GHz.
Already tried: restarting the router and the Mac, forgetting and re‑adding networks, entering the password manually and from Terminal, turning off iCloud Keychain sync, and disabling AWDL. Keychain has no stale entries for these networks. This is the latest macOS available to me.
Setup: UDR7 (firmware 5.1.35) plus a U7‑IW access point. 5 GHz on channel 153 at 80 MHz.
Is anyone else seeing 5 GHz problems with UniFi Wi‑Fi 7 gear since 27.2? I’ll be testing another MacBook Air M2 on the previous macOS tonight to confirm it’s the update.
Post was created with help from Claude which assisted with troubleshooting.
Edit: Apple attributes MacBook Pro 13" OS X 10.11 - Ignore that, it's an old device that's been decommissioned. I'm not sure why it's still showing up on here.