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.
1 parent 20d72b4 commit 1161515Copy full SHA for 1161515
src/nfa/dm/nfa_dm_api.c
@@ -738,7 +738,8 @@ tNFA_STATUS NFA_SetRfDiscoveryDuration(uint16_t discovery_period_ms) {
738
NFA_TRACE_API0("NFA_SetRfDiscoveryDuration ()");
739
740
/* Post the API message */
741
- p_msg = (tNFA_DM_API_SET_RF_DISC_DUR*)GKI_getbuf(sizeof(NFC_HDR));
+ p_msg = (tNFA_DM_API_SET_RF_DISC_DUR*)GKI_getbuf(
742
+ sizeof(tNFA_DM_API_SET_RF_DISC_DUR));
743
if (p_msg != NULL) {
744
p_msg->hdr.event = NFA_DM_API_SET_RF_DISC_DURATION_EVT;
745
0 commit comments