fix bluedroid deinit crash

pull/6491/head
zwj 2021-01-15 14:40:57 +08:00
rodzic d624675087
commit ea42d8e043
3 zmienionych plików z 2 dodań i 6 usunięć

@ -1 +1 @@
Subproject commit ca8f5c602ec2948a31146b5f5e429dea369060a4
Subproject commit 006f49fde59374b54cb23e066c5ec8f10da28da1

Wyświetl plik

@ -320,7 +320,7 @@ BOOLEAN btm_update_dev_to_white_list(BOOLEAN to_add, BD_ADDR bd_addr, tBLE_ADDR_
}
}
tBTM_BLE_CB *p_cb = &btm_cb.ble_ctr_cb;
if (to_add && p_cb->white_list_avail_size == 0) {

Wyświetl plik

@ -896,8 +896,6 @@ void l2c_free_p_lcb_pool(void)
p_lcb = list_node(p_node);
if (p_lcb) {
l2cu_release_lcb (p_lcb);
list_remove(l2cb.p_lcb_pool, p_lcb);
osi_free(p_lcb);
}
}
@ -912,8 +910,6 @@ void l2c_free_p_ccb_pool(void)
p_ccb = list_node(p_node);
if (p_ccb) {
l2cu_release_ccb (p_ccb);
list_remove(l2cb.p_ccb_pool, p_ccb);
osi_free(p_ccb);
}
}