Merge pull request #629 from zunzu/dev

Fixed bug WIFI AUTH_OPEN #623
This commit is contained in:
Vowstar 2015-09-01 15:27:45 +08:00
commit 0606d9c4a9
1 changed files with 1 additions and 1 deletions

View File

@ -1055,7 +1055,7 @@ static int wifi_ap_getconfig( lua_State* L )
struct softap_config config;
wifi_softap_get_config(&config);
lua_pushstring( L, config.ssid );
if(config.authmode = AUTH_OPEN)
if(config.authmode == AUTH_OPEN)
lua_pushnil(L);
else
lua_pushstring( L, config.password );