minor change to wifi.sta.config()

This commit is contained in:
dnc40085 2015-05-11 00:05:28 -07:00
parent f9e0e0cc61
commit c6c8bd84a0
1 changed files with 2 additions and 3 deletions

View File

@ -459,9 +459,8 @@ static int wifi_station_config( lua_State* L )
}
else if (lua_isstring(L, 3)&& !(lua_isnumber(L, 3)))
{
const char *mactemp=luaL_checklstring( L, 3, &ml );
lua_pushstring(L, mactemp);
lua_insert(L, 4);
lua_pushnil(L);
lua_insert(L, 3);
auto_connect=1;
}