Bluetooth: Rename BT_LE_ADV_ADDR_PUBLIC to BT_LE_ADV_ADDR_IDENTITY

In anticipation of supporting a local static random address in the
future it makes more sense to call BT_LE_ADV_ADDR_PUBLIC
BT_LE_ADV_ADDR_IDENTITY.

Change-Id: I4826f1dfb50b54e13a35cbe7ee74e28641c81ad1
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2016-02-01 18:15:52 +02:00 committed by Anas Nashif
commit 479d25d035
4 changed files with 10 additions and 7 deletions

View file

@ -146,7 +146,7 @@ static bool valid_adv_param(const struct bt_le_adv_param *param)
}
switch (param->addr_type) {
case BT_LE_ADV_ADDR_PUBLIC:
case BT_LE_ADV_ADDR_IDENTITY:
case BT_LE_ADV_ADDR_NRPA:
break;
default: