I use the follow function read ap's ssid in the surrounding environment.
sl_WlanPolicySet
sl_WlanGetNetworkList(ucIndex, (unsigned char)WLAN_SCAN_COUNT,
&netEntries[ucIndex]);
I can read the list in sta mode . But when i changed the mode to ap ,it can't read the list.
Is scaning must in the sta mode?