Bluetooth: Controller: Use unique goto label in scan aux code
Use unique goto label in scan aux connect response ISR. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
0e5016e502
commit
ed5883d9a0
1 changed files with 2 additions and 2 deletions
|
@ -1510,7 +1510,7 @@ static void isr_rx_connect_rsp(void *param)
|
||||||
|
|
||||||
rx = ftr->extra;
|
rx = ftr->extra;
|
||||||
rx->hdr.type = NODE_RX_TYPE_RELEASE;
|
rx->hdr.type = NODE_RX_TYPE_RELEASE;
|
||||||
goto isr_rx_do_close;
|
goto isr_rx_connect_rsp_do_close;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Update the max Tx and Rx time; and connection PHY based on the
|
/* Update the max Tx and Rx time; and connection PHY based on the
|
||||||
|
@ -1548,7 +1548,7 @@ static void isr_rx_connect_rsp(void *param)
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_BT_CTLR_PRIVACY */
|
#endif /* CONFIG_BT_CTLR_PRIVACY */
|
||||||
|
|
||||||
isr_rx_do_close:
|
isr_rx_connect_rsp_do_close:
|
||||||
if (IS_ENABLED(CONFIG_BT_CTLR_PROFILE_ISR)) {
|
if (IS_ENABLED(CONFIG_BT_CTLR_PROFILE_ISR)) {
|
||||||
lll_prof_cputime_capture();
|
lll_prof_cputime_capture();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue