Merge branch 'cherry-pick-8ab17d7c' into 'release/v3.0'
cherry pick 'bugfix/btdm_avrc_remote_bda_error_when_disconnect' into 'release/v3.0' See merge request idf/esp-idf!2099
This commit is contained in:
commit
db17ffef00
1 changed files with 2 additions and 2 deletions
|
@ -201,7 +201,7 @@ static void handle_rc_disconnect (tBTA_AV_RC_CLOSE *p_rc_close)
|
||||||
|
|
||||||
btc_rc_vb.rc_handle = 0;
|
btc_rc_vb.rc_handle = 0;
|
||||||
btc_rc_vb.rc_connected = FALSE;
|
btc_rc_vb.rc_connected = FALSE;
|
||||||
memset(btc_rc_vb.rc_addr, 0, sizeof(BD_ADDR));
|
memcpy(btc_rc_vb.rc_addr, p_rc_close->peer_addr, sizeof(BD_ADDR));
|
||||||
memset(btc_rc_vb.rc_notif, 0, sizeof(btc_rc_vb.rc_notif));
|
memset(btc_rc_vb.rc_notif, 0, sizeof(btc_rc_vb.rc_notif));
|
||||||
|
|
||||||
btc_rc_vb.rc_features = 0;
|
btc_rc_vb.rc_features = 0;
|
||||||
|
|
Loading…
Reference in a new issue