mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/a2dp_source_not_stop_discovery_correctly_v4.4' into 'release/v4.4'
bugfix/avoid wrongly restart discovery in a2dp_source (v4.4) See merge request espressif/esp-idf!18710
This commit is contained in:
commit
0a8fc491c7
@ -215,7 +215,9 @@ static void bt_app_gap_cb(esp_bt_gap_cb_event_t event, esp_bt_gap_cb_param_t *pa
|
||||
switch (event) {
|
||||
/* when device discovered a result, this event comes */
|
||||
case ESP_BT_GAP_DISC_RES_EVT: {
|
||||
filter_inquiry_scan_result(param);
|
||||
if (s_a2d_state == APP_AV_STATE_DISCOVERING) {
|
||||
filter_inquiry_scan_result(param);
|
||||
}
|
||||
break;
|
||||
}
|
||||
/* when discovery state changed, this event comes */
|
||||
|
Loading…
Reference in New Issue
Block a user