Bluetooth: Correct chan->psm endian conversions
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 9 Mar 2012 12:16:17 +0000 (14:16 +0200)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 03:41:29 +0000 (00:41 -0300)
commit097db76cdccd8107784e2c845b838ab333be02dc
tree365b1f5545cf838da865070a6ca0debdec47fd82
parent78e8098e7b8db6a7dc01406464329c37d3b4973d
Bluetooth: Correct chan->psm endian conversions

chan->psm is kept in __le16 format which was not always taken
into account. Fix several bugs related to extra conversion.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c