Luiz Augusto von Dentz e6720779ae Bluetooth: SCO: Use kref to track lifetime of sco_conn
This make use of kref to keep track of reference of sco_conn which
allows better tracking of its lifetime with usage of things like
kref_get_unless_zero in a similar way as used in l2cap_chan.

In addition to it remove call to sco_sock_set_timer on __sco_sock_close
since at that point it is useless to set a timer as the sk will be freed
there is nothing to be done in sco_sock_timeout.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-11-14 15:39:03 -05:00
..
2023-02-13 18:34:48 +08:00
2024-03-08 10:22:17 -05:00
2024-03-06 17:22:39 -05:00
2024-07-15 10:11:35 -04:00
2024-07-15 10:11:35 -04:00