Bluetooth: trivial: Fix endian conversion mode
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Mon, 12 Mar 2012 10:13:10 +0000 (12:13 +0200)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 03:41:31 +0000 (00:41 -0300)
commit4fd21a88e311c03241f323f64aef643fcd5f149d
treeeea2134631740b74b6dc858ba178200514978274
parent8ce0c498aa6f40db119d5eb60aa9e7de5e66880e
Bluetooth: trivial: Fix endian conversion mode

In L2CAP we use le16 format so change direction of conversion
from le16_to_cpu to cpu_to_le16.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_core.c