Bluetooth: Lookup channel structure based on DCID
authorMat Martineau <mathewm@codeaurora.org>
Tue, 23 Oct 2012 22:24:09 +0000 (15:24 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 24 Oct 2012 02:01:53 +0000 (00:01 -0200)
commitb1a130b7d372c5ccc2001d4ee08928b5324f0a76
tree8b436e6b47ead2474ef865c9c210e3fed588962c
parent5909cf30f380d13bb59e81e4cb17c3714cb94e68
Bluetooth: Lookup channel structure based on DCID

Processing a move channel request involves getting the channel
structure using the destination channel ID.  Previous code could only
look up using the source channel ID.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Acked-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c