Bluetooth: Fix RFCOMM bind fail for L2CAP sock
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 5 Nov 2013 07:02:24 +0000 (16:02 +0900)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 13 Nov 2013 13:36:53 +0000 (11:36 -0200)
commitc507f138fc7c2025d75b65018810dc0561d0bdb9
tree07f863de4529399c0a0796637f06e5948518a5cc
parent60c7a3c9c77239d5a7430c42a2c796881716cca1
Bluetooth: Fix RFCOMM bind fail for L2CAP sock

L2CAP socket bind checks its bdaddr type but RFCOMM kernel thread
does not assign proper bdaddr type for L2CAP sock. This can cause
that RFCOMM failure.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/rfcomm/core.c