Bluetooth: Refactor l2cap_send_disconn_req
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Wed, 28 Nov 2012 15:59:39 +0000 (17:59 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 3 Dec 2012 17:59:59 +0000 (15:59 -0200)
commit5e4e3972b8da23e270fa37670caec4d32f2197f7
treeca2f0849899442f5d37140295a6c2b8bd87e4604
parentffa88e02bc67a1496fae762ad899e8f49136e7a1
Bluetooth: Refactor l2cap_send_disconn_req

l2cap_send_disconn_req takes 3 parameters of which conn might be
derived from chan. Make this conversion inside l2cap_send_disconn_req.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c