Update wlan.py

Add incorrect password check.