Jaganath Kanakkassery 4af66c691f Bluetooth: Free the l2cap channel list only when refcount is zero
Move the l2cap channel list chan->global_l under the refcnt
protection and free it based on the refcnt.

Signed-off-by: Jaganath Kanakkassery <jaganath.k@samsung.com>
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Reviewed-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
2012-08-06 15:02:58 -03:00
..
2012-06-04 11:45:11 -04:00
2012-07-10 22:36:17 +02:00
2012-07-23 13:16:59 -07:00
2012-07-19 10:48:00 -07:00
2012-07-26 15:50:39 -07:00
2012-07-26 15:50:39 -07:00
2012-07-19 10:48:00 -07:00
2012-07-16 23:23:52 -07:00
2012-06-15 15:30:15 -07:00
2012-04-15 12:44:40 -04:00
2012-05-17 18:45:20 -04:00
2012-06-27 15:42:24 -07:00
2012-07-23 01:01:44 -07:00
2012-07-18 11:28:46 -07:00
2012-07-16 22:31:34 -07:00
2012-07-20 13:31:21 -07:00