hfp_hf: report HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED event

This commit is contained in:
Milanka Ringwald 2022-06-03 10:04:23 +02:00
parent 713e3f72ab
commit f127324f1a
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- GAP: fix race condition that causes duplicate authenticate request
- 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
- HFP AG: handle call termination in alerting call state
- HFP HF: report HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED event
- A2DP Sink: fix config API for AAC, ATRAC, and other codecs
- SM: address update for non-resolvable private addresses

View File

@ -239,7 +239,7 @@ static void hfp_emit_network_operator_event(const hfp_connection_t * hfp_connect
uint8_t event[7+HFP_MAX_NETWORK_OPERATOR_NAME_SIZE];
event[0] = HCI_EVENT_HFP_META;
event[1] = sizeof(event) - 2;
event[2] = 6 + operator_len;
event[2] = HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED;
little_endian_store_16(event, 3, hfp_connection->acl_handle);
event[5] = hfp_connection->network_operator.mode;
event[6] = hfp_connection->network_operator.format;