Message ID | 20210519211907.157397-1-inga.stotland@intel.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Luiz Von Dentz |
Headers | show |
Series | [BlueZ] tools/mgmt-tester: Fix "Remove Ext Advertising" case | expand |
This is automated email and please do not reply to this email! Dear submitter, Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series: PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=485351 ---Test result--- Test Summary: CheckPatch PASS 0.50 seconds GitLint PASS 0.12 seconds Prep - Setup ELL PASS 48.33 seconds Build - Prep PASS 0.11 seconds Build - Configure PASS 8.50 seconds Build - Make PASS 206.92 seconds Make Check PASS 9.88 seconds Make Distcheck PASS 245.45 seconds Build w/ext ELL - Configure PASS 8.68 seconds Build w/ext ELL - Make PASS 194.87 seconds Details ############################## Test: CheckPatch - PASS Desc: Run checkpatch.pl script with rule in .checkpatch.conf ############################## Test: GitLint - PASS Desc: Run gitlint with rule in .gitlint ############################## Test: Prep - Setup ELL - PASS Desc: Clone, build, and install ELL ############################## Test: Build - Prep - PASS Desc: Prepare environment for build ############################## Test: Build - Configure - PASS Desc: Configure the BlueZ source tree ############################## Test: Build - Make - PASS Desc: Build the BlueZ source tree ############################## Test: Make Check - PASS Desc: Run 'make check' ############################## Test: Make Distcheck - PASS Desc: Run distcheck to check the distribution ############################## Test: Build w/ext ELL - Configure - PASS Desc: Configure BlueZ source with '--enable-external-ell' configuration ############################## Test: Build w/ext ELL - Make - PASS Desc: Build BlueZ source with '--enable-external-ell' configuration --- Regards, Linux Bluetooth
Hi Inga, On Wed, May 19, 2021 at 2:46 PM <bluez.test.bot@gmail.com> wrote: > > This is automated email and please do not reply to this email! > > Dear submitter, > > Thank you for submitting the patches to the linux bluetooth mailing list. > This is a CI test results with your patch series: > PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=485351 > > ---Test result--- > > Test Summary: > CheckPatch PASS 0.50 seconds > GitLint PASS 0.12 seconds > Prep - Setup ELL PASS 48.33 seconds > Build - Prep PASS 0.11 seconds > Build - Configure PASS 8.50 seconds > Build - Make PASS 206.92 seconds > Make Check PASS 9.88 seconds > Make Distcheck PASS 245.45 seconds > Build w/ext ELL - Configure PASS 8.68 seconds > Build w/ext ELL - Make PASS 194.87 seconds > > Details > ############################## > Test: CheckPatch - PASS > Desc: Run checkpatch.pl script with rule in .checkpatch.conf > > ############################## > Test: GitLint - PASS > Desc: Run gitlint with rule in .gitlint > > ############################## > Test: Prep - Setup ELL - PASS > Desc: Clone, build, and install ELL > > ############################## > Test: Build - Prep - PASS > Desc: Prepare environment for build > > ############################## > Test: Build - Configure - PASS > Desc: Configure the BlueZ source tree > > ############################## > Test: Build - Make - PASS > Desc: Build the BlueZ source tree > > ############################## > Test: Make Check - PASS > Desc: Run 'make check' > > ############################## > Test: Make Distcheck - PASS > Desc: Run distcheck to check the distribution > > ############################## > Test: Build w/ext ELL - Configure - PASS > Desc: Configure BlueZ source with '--enable-external-ell' configuration > > ############################## > Test: Build w/ext ELL - Make - PASS > Desc: Build BlueZ source with '--enable-external-ell' configuration > > > > --- > Regards, > Linux Bluetooth Applied, thanks.
diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index de35008ad..1b9dc0445 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -6671,7 +6671,7 @@ static void command_hci_callback(uint16_t opcode, const void *param, tester_print("HCI Command 0x%04x length %u", opcode, length); - if (opcode != test->expect_hci_command) + if (opcode != test->expect_hci_command || data->unmet_conditions <= 0) return; if (test->expect_hci_func) @@ -7720,6 +7720,10 @@ static const char set_ext_adv_disable_param[] = { 0x00, 0x00, }; +static const char set_ext_adv_disable_param_1[] = { + 0x00, 0x01, 0x01, 0x00, 0x00, 0x00 +}; + static const struct generic_data add_ext_advertising_timeout_expired = { .expect_alt_ev = MGMT_EV_ADVERTISING_REMOVED, .expect_alt_ev_param = advertising_instance1_param, @@ -7747,8 +7751,8 @@ static const struct generic_data remove_ext_advertising_success_1 = { .expect_alt_ev_param = advertising_instance1_param, .expect_alt_ev_len = sizeof(advertising_instance1_param), .expect_hci_command = BT_HCI_CMD_LE_SET_EXT_ADV_ENABLE, - .expect_hci_param = set_ext_adv_disable_param, - .expect_hci_len = sizeof(set_ext_adv_disable_param), + .expect_hci_param = set_ext_adv_disable_param_1, + .expect_hci_len = sizeof(set_ext_adv_disable_param_1), }; static const struct generic_data remove_ext_advertising_success_2 = {