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:
Vinayak Kariappa Chettimada 2023-09-17 06:13:40 +02:00 committed by Carles Cufí
commit ed5883d9a0

View file

@ -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();
} }