fix SPP server bugs when the BTC layer can not allocate a slot for the listen port

This commit is contained in:
liqigan
2021-11-15 16:34:15 +08:00
parent fe289ec670
commit aa6f86fbc5
13 changed files with 207 additions and 116 deletions

View File

@@ -103,7 +103,7 @@ static const char *result_code_strings[] = {
*******************************************************************************/
int RFCOMM_CreateConnection (UINT16 uuid, UINT8 scn, BOOLEAN is_server,
UINT16 mtu, BD_ADDR bd_addr, UINT16 *p_handle,
tPORT_CALLBACK *p_mgmt_cb)
tPORT_MGMT_CALLBACK *p_mgmt_cb)
{
tPORT *p_port;
int i;