- fix congest return value

- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
This commit is contained in:
zwj
2020-10-28 14:19:58 +08:00
parent 0880c7bcf9
commit 1d1754e4b4
4 changed files with 20 additions and 11 deletions

View File

@@ -1839,7 +1839,7 @@ UINT16 L2CA_SendFixedChnlData (UINT16 fixed_cid, BD_ADDR rem_bda, BT_HDR *p_buf)
fixed_queue_length(p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->xmit_hold_q),
p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL]->buff_quota);
osi_free(p_buf);
return (L2CAP_DW_FAILED);
return (L2CAP_DW_CONGESTED);
}
l2c_enqueue_peer_data (p_lcb->p_fixed_ccbs[fixed_cid - L2CAP_FIRST_FIXED_CHNL], p_buf);