From: Johan Hedberg Date: Thu, 11 Dec 2014 19:45:44 +0000 (+0200) Subject: Bluetooth: Fix calling hci_conn_put too early X-Git-Tag: omap-for-v3.20/drop-legacy-3517~36^2~17^2~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15013aeb63fb4df7ff809d63246c8398e9703736;p=pandora-kernel.git Bluetooth: Fix calling hci_conn_put too early The pairing_complete() function relies on a hci_conn reference to be able to access the hci_conn object. It should therefore only release this reference once it's done accessing the object, i.e. at the end of the function. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed