sm: fix address update for non-resolvable private addresses

This commit is contained in:
Matthias Ringwald 2022-05-30 12:30:40 +02:00
parent a45da34ed9
commit 2954e6c60d
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- L2CAP: Fix accept incoming ERTM connection when Information Request already complete
- HFP AG: activate all AG indicators upon service level connection establishment
- HFP_AG: handle call termination in alerting call state
- SM: address update for non-resolvable private addresses
### Changed
- A2DP: new a2dp.c contains shared code of Sink and Source roles

View File

@ -3466,6 +3466,7 @@ static void sm_handle_random_result_rau(void * arg){
default:
// "The two most significant bits of the address shall be equal to 0""
sm_random_address[0u] &= 0x3fu;
rau_state = RAU_IDLE;
hci_le_random_address_set(sm_random_address);
break;
}