From 7244d51b388325e2eccf23f5525fb75af1bbced2 Mon Sep 17 00:00:00 2001 From: dnc40085 Date: Wed, 20 May 2015 02:21:46 -0700 Subject: [PATCH] Fixed bug in wifi_scan_done --- app/modules/wifi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/wifi.c b/app/modules/wifi.c index 21c82b05..46ae6aa5 100644 --- a/app/modules/wifi.c +++ b/app/modules/wifi.c @@ -84,7 +84,7 @@ static void wifi_scan_done(void *arg, STATUS status) } else { - lua_pushnil(gL); + lua_newtable( gL ); } lua_call(gL, 1, 0); if(wifi_scan_succeed != LUA_NOREF)