diff options
Diffstat (limited to 'net/bluetooth/hidp/core.c')
-rw-r--r-- | net/bluetooth/hidp/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index 3c2d888925d..d478be11d56 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c | |||
@@ -795,11 +795,11 @@ static struct hci_conn *hidp_get_connection(struct hidp_session *session) | |||
795 | if (!hdev) | 795 | if (!hdev) |
796 | return NULL; | 796 | return NULL; |
797 | 797 | ||
798 | hci_dev_lock_bh(hdev); | 798 | hci_dev_lock(hdev); |
799 | conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, dst); | 799 | conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, dst); |
800 | if (conn) | 800 | if (conn) |
801 | hci_conn_hold_device(conn); | 801 | hci_conn_hold_device(conn); |
802 | hci_dev_unlock_bh(hdev); | 802 | hci_dev_unlock(hdev); |
803 | 803 | ||
804 | hci_dev_put(hdev); | 804 | hci_dev_put(hdev); |
805 | 805 | ||