component/bt: bugfix for erroneous data reporting always enabled

This commit is contained in:
wangmengyang
2018-07-05 15:22:44 +08:00
parent c71c8aea55
commit ea30c54cda
4 changed files with 17 additions and 2 deletions

View File

@@ -258,6 +258,9 @@ static void start_up(void)
#if (BTM_SCO_HCI_INCLUDED == TRUE)
response = AWAIT_COMMAND(packet_factory->make_write_sync_flow_control_enable(1));
packet_parser->parse_generic_command_complete(response);
response = AWAIT_COMMAND(packet_factory->make_write_default_erroneous_data_report(1));
packet_parser->parse_generic_command_complete(response);
#endif
readable = true;
// return future_new_immediate(FUTURE_SUCCESS);