Macbook Air will not connect to certain WiFi networks
My Macbook Air 13 inch early 2015 will not connect to my work WiFi any more. My iPhone and MBP can connect to it but when I try to connect using my Air I get the error "The Wiu-Fi network <network name> could not be joined". Running diagnostics doesn't work, it just hangs.
I have tried booting in recovery mode and it doesn't work in there either, but this time it tells me the password is incorrect even though it isn't.
I'm running Sierra 10.12.6
I've tried the following troubleshooting steps:
Deleting all saved networks
SMC reset
NVRAM reset
Because this is a work network I have no access to the router, but I know it uses WPA2 PSK and is an 802.11g network. It worked fine until about 3 months ago.
MacBook Air, macOS Sierra (10.12.6)