]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Fix using hci_conn_get() for hci_conn pointers
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 17 Aug 2014 20:28:57 +0000 (23:28 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Sep 2014 17:07:53 +0000 (19:07 +0200)
commitf8aaf9b65a77267f749c1af641e46c3457d50701
treede1e0c30c71feca081078fe6a23daa5703759d94
parent51bb8457ddfa74ede52bf8c02054dea831d59fff
Bluetooth: Fix using hci_conn_get() for hci_conn pointers

Wherever we keep hci_conn pointers around we should be using
hci_conn_get/put to ensure that they stay valid. This patch fixes
all places violating against the principle currently.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c