mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-02 07:10:02 +00:00
Merge pull request #871 from michal-narajowski/ll-legacy-adv-fix
nimble/ll: Allow setting scan rsp data before configuring advertising X-Original-Commit: 8f0a8d53bd57cc17644758dc31f0d0439327f752
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