bluetooth: fix missing braces and indentation

This commit is contained in:
Anton Maklakov 2018-08-29 12:54:29 +08:00 committed by Ivan Grokhotkov
parent ed546797d0
commit e8eb8cb2a4
2 changed files with 8 additions and 7 deletions

View file

@ -578,7 +578,7 @@ void bta_gattc_clear_notif_registration(tBTA_GATTC_SERV *p_srcb, UINT16 conn_id,
for (i = 0 ; i < BTA_GATTC_NOTIF_REG_MAX; i ++) {
if (p_clrcb->notif_reg[i].in_use &&
!bdcmp(p_clrcb->notif_reg[i].remote_bda, remote_bda))
{
/* It's enough to get service or characteristic handle, as
* clear boundaries are always around service.
*/
@ -587,6 +587,7 @@ void bta_gattc_clear_notif_registration(tBTA_GATTC_SERV *p_srcb, UINT16 conn_id,
memset(&p_clrcb->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG));
}
}
}
} else {
APPL_TRACE_ERROR("can not clear indication/notif registration for unknown app");
}