mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Dereference null return value
This commit is contained in:
parent
1bada6c0f6
commit
5152b33385
@ -709,6 +709,9 @@ void btm_pm_proc_cmd_status(UINT8 status)
|
||||
|
||||
|
||||
p_acl_cb = btm_handle_to_acl(btm_cb.pm_pend_link_hdl);
|
||||
if (p_acl_cb == NULL) {
|
||||
return;
|
||||
}
|
||||
p_cb = p_acl_cb->p_pm_mode_db;
|
||||
|
||||
if (status == HCI_SUCCESS) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user