btio: Fix byte order conversion when getting L2CAP CID
authorSantiago Carot-Nemesio <sancane@gmail.com>
Mon, 5 Dec 2011 11:54:45 +0000 (12:54 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 17 Jan 2012 10:42:21 +0000 (11:42 +0100)
commitb2ed1b1ac486a049c42a5dc2ae48b255ce617baf
tree29c075f16dbb37b72e37b216c38936e6cd93755a
parent4222c68155771e58c8567cc7db00e1937e9a4013
btio: Fix byte order conversion when getting L2CAP CID

The L2CAP CID is passed and received in little endian byte order
through the socket interface so a conversion is in place before
passing it onwards.
btio/btio.c