Commit c6c8bd84 authored by dnc40085's avatar dnc40085
Browse files

minor change to wifi.sta.config()

parent f9e0e0cc
...@@ -459,9 +459,8 @@ static int wifi_station_config( lua_State* L ) ...@@ -459,9 +459,8 @@ static int wifi_station_config( lua_State* L )
} }
else if (lua_isstring(L, 3)&& !(lua_isnumber(L, 3))) else if (lua_isstring(L, 3)&& !(lua_isnumber(L, 3)))
{ {
const char *mactemp=luaL_checklstring( L, 3, &ml ); lua_pushnil(L);
lua_pushstring(L, mactemp); lua_insert(L, 3);
lua_insert(L, 4);
auto_connect=1; auto_connect=1;
} }
......
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