mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-09 02:30:06 +00:00
nimble/ll: Allow setting scan rsp data before configuring advertising
When using legacy advertising commands X-Original-Commit: 7c9ebd15755af50377418f4fb7b19fd9f22fcfc8
This commit is contained in:
@@ -1813,7 +1813,9 @@ ble_ll_adv_set_scan_rsp_data(uint8_t *cmd, uint8_t instance, uint8_t operation)
|
||||
|
||||
/* check if type of advertising support scan rsp */
|
||||
if (!(advsm->props & BLE_HCI_LE_SET_EXT_ADV_PROP_SCANNABLE)) {
|
||||
return BLE_ERR_INV_HCI_CMD_PARMS;
|
||||
if (!(advsm->props & BLE_HCI_LE_SET_EXT_ADV_PROP_LEGACY)) {
|
||||
return BLE_ERR_INV_HCI_CMD_PARMS;
|
||||
}
|
||||
}
|
||||
|
||||
switch (operation) {
|
||||
|
||||
Reference in New Issue
Block a user