commit | bcbb655a180344d8004ede669228992bff1921e4 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Mon Aug 18 20:33:27 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon Sep 08 19:07:54 2014 +0200 |
tree | 10abc4c141ed33a522ee725b8d492178e0c9214d | |
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>