Skip to content

Commit 22a48e5

Browse files
cvinayakcfriedt
authored andcommitted
Bluetooth: Controller: Minor rename of disabled callback functions
Minor rename of Connection ISO disabled callback function names. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent f06ac2b commit 22a48e5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

subsys/bluetooth/controller/ll_sw/ull_conn_iso.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ void ull_conn_iso_resume_ticker_start(struct lll_event *resume_event,
395395
(ret == TICKER_STATUS_BUSY));
396396
}
397397

398-
static void disabled_cig_cb(void *param)
398+
static void cig_disabled_cb(void *param)
399399
{
400400
struct ll_conn_iso_group *cig;
401401

@@ -427,22 +427,22 @@ static void ticker_stop_op_cb(uint32_t status, void *param)
427427
*/
428428
LL_ASSERT(!hdr->disabled_cb);
429429
hdr->disabled_param = mfy.param;
430-
hdr->disabled_cb = disabled_cig_cb;
430+
hdr->disabled_cb = cig_disabled_cb;
431431

432432
mfy.fp = lll_disable;
433433
ret = mayfly_enqueue(TICKER_USER_ID_ULL_LOW,
434434
TICKER_USER_ID_LLL, 0, &mfy);
435435
LL_ASSERT(!ret);
436436
} else {
437437
/* Disable now */
438-
mfy.fp = disabled_cig_cb;
438+
mfy.fp = cig_disabled_cb;
439439
ret = mayfly_enqueue(TICKER_USER_ID_ULL_LOW,
440440
TICKER_USER_ID_ULL_HIGH, 0, &mfy);
441441
LL_ASSERT(!ret);
442442
}
443443
}
444444

445-
static void disabled_cis_cb(void *param)
445+
static void cis_disabled_cb(void *param)
446446
{
447447
struct ll_conn_iso_group *cig;
448448
struct ll_conn_iso_stream *cis;
@@ -527,20 +527,20 @@ void ull_conn_iso_cis_stop(struct ll_conn_iso_stream *cis,
527527
* continue CIS teardown from there. The disabled_cb cannot be
528528
* reserved for other use.
529529
*/
530-
LL_ASSERT(!hdr->disabled_cb || hdr->disabled_cb == disabled_cis_cb);
530+
LL_ASSERT(!hdr->disabled_cb || hdr->disabled_cb == cis_disabled_cb);
531531

532532
hdr->disabled_param = cig;
533-
hdr->disabled_cb = disabled_cis_cb;
533+
hdr->disabled_cb = cis_disabled_cb;
534534
} else {
535535
static memq_link_t link;
536536
static struct mayfly mfy = {0, 0, &link, NULL, NULL};
537537

538538
/* Tear down CIS now in ULL_HIGH context. Ignore enqueue
539539
* error (already enqueued) as all CISes marked for teardown
540-
* will be handled in disabled_cis_cb. Use mayfly chaining to
540+
* will be handled in cis_disabled_cb. Use mayfly chaining to
541541
* prevent recursive stop calls.
542542
*/
543-
mfy.fp = disabled_cis_cb;
543+
mfy.fp = cis_disabled_cb;
544544
mfy.param = cig;
545545
mayfly_enqueue(TICKER_USER_ID_ULL_LOW,
546546
TICKER_USER_ID_ULL_HIGH, 1, &mfy);

0 commit comments

Comments
 (0)