bt: fix gcc-12 compile errors

This commit is contained in:
Alexey Lapshin
2023-02-06 11:34:31 +07:00
parent a32bbedcd9
commit d4b7be4a73
15 changed files with 40 additions and 44 deletions
@@ -111,7 +111,7 @@ static void smp_connect_callback (UINT16 channel, BD_ADDR bd_addr, BOOLEAN conne
if (transport == BT_TRANSPORT_BR_EDR || memcmp(bd_addr, dummy_bda, BD_ADDR_LEN) == 0) {
return;
}
if(!connected && &p_cb->rsp_timer_ent) {
if(!connected) {
//free timer
btu_free_timer(&p_cb->rsp_timer_ent);
}