Check permissions early, user WifiManager for mac