nimble/controller: Fix compiler warning

X-Original-Commit: 1de334518ac1cec120ec961969a3450caeb71872
This commit is contained in:
Łukasz Rymanowski
2017-06-22 13:59:13 +02:00
parent 2c99e39144
commit 54129ea32b
+1 -1
View File
@@ -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);
}