Code was refactored, updating documentation to reflect that
Merges https://github.com/espressif/esp-idf/pull/593
* @brief Scan all available APs.
*
* @attention If this API is called, the found APs are stored in WiFi driver dynamic allocated memory and the
- * will be freed in esp_wifi_get_ap_list, so generally, call esp_wifi_get_ap_list to cause
+ * will be freed in esp_wifi_scan_get_ap_records, so generally, call esp_wifi_scan_get_ap_records to cause
* the memory to be freed once the scan is done
* @attention The values of maximum active scan time and passive scan time per channel are limited to 1500 milliseconds.
* Values above 1500ms may cause station to disconnect from AP and are not recommended.