summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_sock.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-12 06:01:26 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-12 17:28:04 +0300
commit43b1b8dfb4fa326d89aa5930f88b943cc410cbfa (patch)
treef766c5491731b8f33ec1275e10de1d4b6ea3a855 /net/bluetooth/l2cap_sock.c
parent4ca048e3a38e9691eb3e390c5eea3acd9b51cd17 (diff)
downloadop-kernel-dev-43b1b8dfb4fa326d89aa5930f88b943cc410cbfa.zip
op-kernel-dev-43b1b8dfb4fa326d89aa5930f88b943cc410cbfa.tar.gz
Bluetooth: Fix PSM value for L2CAP connectionless data packets
The put_unaligned() for setting the PSM is missing the (__le16 *) cast. Without this, the PSM information transmitted over the air are bogus. In addition, print the used PSM value in the debug message so this becomes easier to debug in the future. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud