i disable the scan by
ucConfigOpt = SL_WLAN_SCAN_POLICY(0, 0);
RetVal = sl_WlanPolicySet(SL_WLAN_POLICY_SCAN , ucConfigOpt, NULL, 0);
ASSERT_ON_ERROR(RetVal, WLAN_ERROR);
and process a one shot scan by
ret = sl_WlanGetNetworkList(0, 30, &netentry[0]);
and it will always return me SL_ERROR_WLAN_GET_NETWORK_LIST_EAGAI. how can i avoid this error?