]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Socket address parameter for CID is in little endian
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Oct 2013 16:31:17 +0000 (09:31 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 Oct 2013 16:52:51 +0000 (19:52 +0300)
commite7a071ad0d0b4c5fd3b81d36c94cdf8f221da949
tree3c2c3d4655f6c4aaf54f18ca9acce9092743bcc7
parenta253230eefbd7c5baa60cf599396161333f7e938
Bluetooth: Socket address parameter for CID is in little endian

The L2CAP socket parameter for CID are actually provided in little
endian. So convert our constants into little endian before comparing
them.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_sock.c