Fix WPA2 AP

Thanks to androidarmv6 :)
Reference: 
http://server.cas-online.nl:8181/#/c/835/1/SoftapController.cpp,unified