Sometimes, simply restarting the Network Manager can solve connectivity issues:

sudo systemctl restart NetworkManager

Check if the drivers are properly loaded

inxi -N

Ensure that the wireless device is not blocked by rfkill switch

dmesg | grep -i wifi

The NetworkManager itselft could cause the issue. You may want to try another manager like

wicd

netctl