Bluetooth: Make sure fixed channels have the tx CID set

Right now we don't rely on this value being set, but we might in the
future.

Change-Id: Icc560b6935582a9e6dc268d21ce0784773aa480d
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2015-11-02 11:18:06 +02:00 committed by Anas Nashif
commit 4e2880f9c1

View file

@ -152,6 +152,7 @@ void bt_l2cap_connected(struct bt_conn *conn)
}
chan->rx.cid = fchan->cid;
chan->tx.cid = fchan->cid;
l2cap_chan_add(conn, chan);