BLE: Fix resolvable private address identification.

pull/6932/head
Vincent Coubard 2018-05-21 15:30:19 +01:00
parent b973a8a490
commit fb9e0dcbe7
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ ble_error_t Gap::getRandomAddressType(
case 0x00:
*type = RandomAddressType_t::NON_RESOLVABLE_PRIVATE;
return BLE_ERROR_NONE;
case 0x02:
case 0x01:
*type = RandomAddressType_t::RESOLVABLE_PRIVATE;
return BLE_ERROR_NONE;
default: