Lines Matching defs:reason
48 UINT16 reason, tBT_TRANSPORT transport);
406 UINT16 reason, tBT_TRANSPORT transport)
474 gatt_cleanup_upon_disc(bd_addr, reason, transport);
805 UINT16 reason;
820 /* if ACL link is still up, no reason is logged, l2cap is disconnect from peer */
821 if ((reason = L2CA_GetDisconnectReason(p_tcb->peer_bda, p_tcb->transport)) == 0)
822 reason = GATT_CONN_TERMINATE_PEER_USER;
825 gatt_cleanup_upon_disc(p_tcb->peer_bda, reason, GATT_TRANSPORT_BR_EDR);
842 UINT16 reason;
856 /* if ACL link is still up, no reason is logged, l2cap is disconnect from peer */
857 if ((reason = L2CA_GetDisconnectReason(p_tcb->peer_bda, p_tcb->transport)) == 0)
858 reason = GATT_CONN_TERMINATE_LOCAL_HOST;
860 gatt_cleanup_upon_disc(p_tcb->peer_bda, reason, GATT_TRANSPORT_BR_EDR);