Bluetooth: Use kref for l2cap channel reference counting
authorSyam Sidhardhan <s.syam@samsung.com>
Fri, 27 Jul 2012 18:21:21 +0000 (23:51 +0530)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 21 Aug 2012 17:54:41 +0000 (14:54 -0300)
This patch changes the struct l2cap_chan and associated code to use
kref api for object refcounting and freeing.

Suggested-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Jaganath Kanakkassery <jaganath.k@samsung.com>
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>

No differences found