diff options
| author | Johan Hedberg <[email protected]> | 2014-08-18 00:41:42 +0300 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2014-09-08 19:07:53 +0200 |
| commit | 6c388d32ec1b9fcc2f2404fb5e9b3b0096be5de9 (patch) | |
| tree | d25aa7646454e2f0cbd73ce4b724c3cfa9587e84 /tools/perf/scripts/python | |
| parent | eb78d7e53d144995b9e023b151de19fa40af72f3 (diff) | |
Bluetooth: Fix hci_conn reference counting with hci_chan
The hci_chan_del() function was doing a hci_conn_drop() but there was no
matching hci_conn_hold() in the hci_chan_create() function. Furthermore,
as the hci_chan struct holds a pointer to the hci_conn there should be
proper use of hci_conn_get/put. This patch fixes both issues so that
hci_chan does correct reference counting of the hci_conn object.
Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions