/* Callback for SDP disconnection. 
Gets called when an SDP connection is terminated */
static void bt_sdp_disconnected(struct bt_l2cap_chan *chan)
/* Callback for SDP disconnection. 
Gets called when an SDP connection is terminated */
static void bt_sdp_disconnected(struct bt_l2cap_chan *chan)
{
	struct bt_l2cap_br_chan *ch = CONTAINER_OF(chan,
						   struct bt_l2cap_br_chan,
						   chan);
	struct bt_sdp *sdp = CONTAINER_OF(ch, struct bt_sdp, chan);
	LOG_DBG("chan %p cid 0x%04x", ch, ch->tx.cid);
	(void)memset(sdp, 0, sizeof(*sdp));
}