drivers/nble: Fix error return for NRPA advertising address type
Currently the nble implementation doesn't support advertising with an NRPA. Change-Id: I80e3e2a72d73d23f37966eb429a8ffb8d8c50bf5 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
479d25d035
commit
0270fda003
1 changed files with 1 additions and 1 deletions
|
@ -147,8 +147,8 @@ static bool valid_adv_param(const struct bt_le_adv_param *param)
|
|||
|
||||
switch (param->addr_type) {
|
||||
case BT_LE_ADV_ADDR_IDENTITY:
|
||||
case BT_LE_ADV_ADDR_NRPA:
|
||||
break;
|
||||
case BT_LE_ADV_ADDR_NRPA: /* nble doesn't support NRPAs (for now) */
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue