Bluetooth: Add flexible buffer byte order swapping function
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Jun 2014 16:25:19 +0000 (19:25 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:43 +0000 (17:42 +0200)
commit8a2936f44ad53ce4e734a0a0cc5bedc57711e87c
tree3c630a64f9c45f092302b7eb4a6c2ba928a0a669
parent533e35d40130c040e38ffa3ee0401c8c84da618d
Bluetooth: Add flexible buffer byte order swapping function

Since the SMP code needs to swap ordering of variable length buffers add
a convenience function that can be used for any length buffer.

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