Commit 51046fd7 authored by dnc40085's avatar dnc40085
Browse files

Minor change to wifi.sleep

Remove unnecessary code
parent 5e95f48a
......@@ -357,7 +357,7 @@ static int wifi_sleep(lua_State* L)
{
FLAG_wifi_force_sleep_enabled = TRUE;
}
else if (wifi_fpm_do_sleep_return_value != 0)
else
{
wifi_fpm_close();
FLAG_wifi_force_sleep_enabled = FALSE;
......
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