File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
tests/bluetooth/bsim_bt/bsim_test_advx/src Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -701,7 +701,7 @@ static void test_advx_main(void)
701701 }
702702
703703 printk ("enabling periodic..." );
704- err = ll_adv_sync_enable (handle , 1 );
704+ err = ll_adv_sync_enable (handle , BT_HCI_LE_SET_PER_ADV_ENABLE_ENABLE );
705705 if (err ) {
706706 goto exit ;
707707 }
@@ -795,7 +795,9 @@ static void test_advx_main(void)
795795 k_sleep (K_MSEC (1000 ));
796796
797797 printk ("enabling periodic..." );
798- err = ll_adv_sync_enable (handle , 1 );
798+ err = ll_adv_sync_enable (handle ,
799+ (BT_HCI_LE_SET_PER_ADV_ENABLE_ENABLE |
800+ BT_HCI_LE_SET_PER_ADV_ENABLE_ADI ));
799801 if (err ) {
800802 goto exit ;
801803 }
@@ -972,7 +974,7 @@ static void test_advx_main(void)
972974 printk ("success.\n" );
973975
974976 printk ("enabling periodic..." );
975- err = ll_adv_sync_enable (handle , 1 );
977+ err = ll_adv_sync_enable (handle , BT_HCI_LE_SET_PER_ADV_ENABLE_ENABLE );
976978 if (err ) {
977979 goto exit ;
978980 }
You can’t perform that action at this time.
0 commit comments