diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-08-18 13:33:27 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-09-08 13:07:54 -0400 |
commit | bcbb655a180344d8004ede669228992bff1921e4 (patch) | |
tree | 10abc4c141ed33a522ee725b8d492178e0c9214d /net/bluetooth/smp.c | |
parent | f94b665dcf15324f5ac8aa639e47be0829b6409d (diff) |
Bluetooth: Remove hci_conn_hold/drop from hci_chan
We can't have hci_chan contribute to the "active" reference counting of
the hci_conn since otherwise the connection would never get dropped when
there are no more users (since hci_chan would be counted as a user).
This patch removes hold() when creating the hci_chan and drop() when
destroying it.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/smp.c')
0 files changed, 0 insertions, 0 deletions