summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2025-02-27 23:28:15 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-03-07 12:43:29 -0500
commit8d74c9106be8da051b22f0cd81e665f17d51ba5d (patch)
treeeeca47adc04f7d24aad88c8368cbf9263b851b63 /drivers/usb/cdns3/cdns3-debug.h
parent75ddcd5ad40ecd9fbc9f5a7a2ed0e1e74921db3c (diff)
Bluetooth: SCO: fix sco_conn refcounting on sco_conn_ready
sco_conn refcount shall not be incremented a second time if the sk already owns the refcount, so hold only when adding new chan. Add sco_conn_hold() for clarity, as refcnt is never zero here due to the sco_conn_add(). Fixes SCO socket shutdown not actually closing the SCO connection. Fixes: ed9588554943 ("Bluetooth: SCO: remove the redundant sco_conn_put") Signed-off-by: Pauli Virtanen <pav@iki.fi> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions