Bluetooth: Fix iterating wrong list in hci_remove_irk()
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 21 Feb 2014 14:03:31 +0000 (16:03 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 21 Feb 2014 14:07:46 +0000 (11:07 -0300)
commit668b7b19820b0801c425d31cc27fd6f499050e5c
treea94d3b4f3eeb9b1f5fb26d04ca2af33f70ff208f
parenta747439957ee2d1696a2a1494e5ce0516e153f10
Bluetooth: Fix iterating wrong list in hci_remove_irk()

We should be iterating hdev->identity_resolving_keys in the
hci_remove_irk() function instead of hdev->long_term_keys. This patch
fixes the issue.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_core.c