Bluetooth: Fix missing hdev locking in smp_cmd_ident_addr_info
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 27 Jun 2014 11:23:02 +0000 (14:23 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:47 +0000 (17:42 +0200)
commit31dd624e1cf937655a06fa4eeec06f4bafa34ab7
treef5b3206863e45f044864e510022f3393ac5cc4ed
parentdbbfa2ab7a2a508fd6ad2ce08f7f34c3041f51ef
Bluetooth: Fix missing hdev locking in smp_cmd_ident_addr_info

The hdev lock must be held before calling into smp_distribute_keys. Also
things such as hci_add_irk() require the lock. This patch fixes the
issue by adding the necessary locking into the smp_cmd_ident_addr_info
function.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c
This page took 0.046858 seconds and 5 git commands to generate.