commit | 144ad33020a0af66fbb188ef3f13ca91c5326a69 | [log] [tgz] |
---|---|---|
author | Syam Sidhardhan <s.syam@samsung.com> | Fri Jul 27 23:51:21 2012 +0530 |
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | Tue Aug 21 14:54:41 2012 -0300 |
tree | 531a6c241a8e7dd5b5238fadef30e6f01c681006 | |
parent | ab19516a50b375c11b9fa442954a43454a730950 [diff] |
Bluetooth: Use kref for l2cap channel reference counting 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>