mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2025-07-31 12:41:06 +00:00
add Scan WiFi
This commit is contained in:
parent
8482fb4fda
commit
d7bf8681b3
11 changed files with 2469 additions and 2284 deletions
|
|
@ -1466,15 +1466,16 @@ int wifi_scan_networks(rtw_scan_result_handler_t results_handler,
|
|||
|
||||
return RTW_SUCCESS;
|
||||
|
||||
error1_with_result_ptr:
|
||||
error1_with_result_ptr:
|
||||
rtw_free((u8*)scan_result_handler_ptr.pap_details);
|
||||
scan_result_handler_ptr.pap_details = NULL;
|
||||
|
||||
error2_with_result_ptr:
|
||||
error2_with_result_ptr:
|
||||
rtw_free((u8*)scan_result_handler_ptr.ap_details);
|
||||
scan_result_handler_ptr.ap_details = NULL;
|
||||
|
||||
err_exit: rtw_memset((void *) &scan_result_handler_ptr, 0,
|
||||
err_exit:
|
||||
rtw_memset((void *) &scan_result_handler_ptr, 0,
|
||||
sizeof(scan_result_handler_ptr));
|
||||
return RTW_ERROR;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue