Skip to content

Commit

Permalink
Bluetooth: tests: Update hci_prop_evt for LE Set Random Address command
Browse files Browse the repository at this point in the history
Accept LE Set Random Address command during HCI init.

Signed-off-by: Joakim Andersson <[email protected]>
  • Loading branch information
joerchan authored and jhedberg committed Feb 3, 2020
1 parent b45b1e3 commit ab2902e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/bluetooth/hci_prop_evt/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ static const struct cmd_handler cmds[] = {
{ BT_HCI_OP_LE_RAND,
sizeof(struct bt_hci_rp_le_rand),
generic_success },
{ BT_HCI_OP_LE_SET_RANDOM_ADDRESS,
sizeof(struct bt_hci_cp_le_set_random_address),
generic_success },
};

/* HCI driver open. */
Expand Down

0 comments on commit ab2902e

Please sign in to comment.