static void prov_clear_tx(void)
{
	BT_DBG("");

	/* If this fails, the work handler will not find any buffers to send,
	 * and return without rescheduling. The work handler also checks the
	 * LINK_ACTIVE flag, so if this call is part of reset_adv_link, it'll
	 * exit early.
	 */
	(void)k_work_cancel_delayable(&link.tx.retransmit);

	free_segments();
}
static void prov_clear_tx(void)
{
	BT_DBG("");

	 
	(void)k_work_cancel_delayable(&link.tx.retransmit);

	free_segments();
}