Wifi: Fix some error handling

Signed-off-by: evilwombat <evilwombat@server.fake>