Commit bcbb655
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>1 parent f94b665 commit bcbb655
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1301 | 1301 | | |
1302 | 1302 | | |
1303 | 1303 | | |
1304 | | - | |
1305 | 1304 | | |
1306 | 1305 | | |
1307 | 1306 | | |
| |||
1321 | 1320 | | |
1322 | 1321 | | |
1323 | 1322 | | |
1324 | | - | |
1325 | | - | |
| 1323 | + | |
1326 | 1324 | | |
1327 | 1325 | | |
1328 | | - | |
1329 | 1326 | | |
1330 | 1327 | | |
1331 | 1328 | | |
| |||
0 commit comments