Commit 0606d9c4 authored by Vowstar's avatar Vowstar
Browse files

Merge pull request #629 from zunzu/dev

Fixed bug WIFI AUTH_OPEN #623
parents 2775ca6e 52ef3c91
......@@ -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 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment