CORTEX: more fixes for WIFI/DATA on/off code + sdio check fix.