We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6acb38a + 1e6f52f commit b6fae21Copy full SHA for b6fae21
components/bt/bluedroid/main/bte_init.c
@@ -269,8 +269,6 @@ void BTE_InitStack(void)
269
if ((bta_gatts_cb_ptr = (tBTA_GATTS_CB *)osi_malloc(sizeof(tBTA_GATTS_CB))) == NULL) {
270
return;
271
}
272
- memset((void *)bta_gattc_cb_ptr, 0, sizeof(tBTA_GATTC_CB));
273
- //
274
memset((void *)bta_gatts_cb_ptr, 0, sizeof(tBTA_GATTS_CB));
275
#endif
276
#if BTA_PAN_INCLUDED==TRUE
0 commit comments