Fix WIFI and sdcard stuff

Signed-off-by: Keven Liu <airk908@gmail.com>