Fixed not defined variable issue and constant wlan issue
Merge pull request #6 from poksion/poksion

Fixed not defined variable issue and constant wlan issue