mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-02 15:20:02 +00:00
nimble/controller: Fix compiler warning
X-Original-Commit: 1de334518ac1cec120ec961969a3450caeb71872
This commit is contained in:
@@ -1330,7 +1330,7 @@ scan_continue:
|
||||
* we have failed the scan request (as we would have reset the scan rsp
|
||||
* pending flag if we received a valid response
|
||||
*/
|
||||
if (scansm->scan_rsp_pending && scan_rsp_chk) {
|
||||
if (scansm && scansm->scan_rsp_pending && scan_rsp_chk) {
|
||||
ble_ll_scan_req_backoff(scansm, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user