mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
hfp_ag: don't clear EC/NR feature on AT+NREC=0
This commit is contained in:
parent
80a6e57ee9
commit
8b73d57b2a
@ -2446,7 +2446,6 @@ static void hfp_ag_handle_rfcomm_data(hfp_connection_t * hfp_connection, uint8_t
|
||||
|
||||
if (get_bit(hfp_ag_supported_features, HFP_AGSF_EC_NR_FUNCTION)){
|
||||
hfp_connection->ok_pending = 1;
|
||||
hfp_ag_supported_features = store_bit(hfp_ag_supported_features, HFP_AGSF_EC_NR_FUNCTION, hfp_connection->ag_echo_and_noise_reduction);
|
||||
status = ERROR_CODE_SUCCESS;
|
||||
} else {
|
||||
hfp_connection->send_error = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user