commit | 31dd624e1cf937655a06fa4eeec06f4bafa34ab7 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Fri Jun 27 14:23:02 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Jul 03 17:42:47 2014 +0200 |
tree | f5b3206863e45f044864e510022f3393ac5cc4ed | |
parent | dbbfa2ab7a2a508fd6ad2ce08f7f34c3041f51ef [diff] |
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>