mgmt-tester: Fix regression with tests failing to setup

This fixes the regression introduced by
ab31e2f7e8 which causes tests using
add_advertising_mgmt_cmd_arr:

Add Advertising - Success (Name+data+appear) Timed out
Add Ext Advertising - Success (Name+data+appear) Timed out
This commit is contained in:
Luiz Augusto von Dentz 2022-06-13 12:48:43 -07:00
parent c6d3bcf3d0
commit 12d6fd9b9d

View File

@ -7868,11 +7868,6 @@ static const struct setup_mgmt_cmd add_advertising_mgmt_cmd_arr[] = {
.send_opcode = MGMT_OP_SET_LOCAL_NAME,
.send_param = &set_local_name_cp,
.send_len = sizeof(set_local_name_cp),
},
{ /* last element should always have opcode 0x00 */
.send_opcode = 0x00,
.send_param = NULL,
.send_len = 0,
}
};