From: Johan Hedberg Date: Mon, 18 Aug 2014 17:33:27 +0000 (+0300) Subject: Bluetooth: Remove hci_conn_hold/drop from hci_chan X-Git-Tag: fixes-against-v3.18-rc2~144^2~144^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcbb655a180344d8004ede669228992bff1921e4;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed