diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-03 10:03:06 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-12-03 10:39:43 +0100 |
commit | 82c13d42bb9e54e0678cbbac16fb51cf3e2f0eff (patch) | |
tree | 9a439b59f7b593249e818f88e8a980484df80e2d /net/bluetooth/smp.h | |
parent | Bluetooth: Track both local and remote L2CAP fixed channel mask (diff) | |
download | linux-82c13d42bb9e54e0678cbbac16fb51cf3e2f0eff.tar.xz linux-82c13d42bb9e54e0678cbbac16fb51cf3e2f0eff.zip |
Bluetooth: Simplify Link Key Notification event handling logic
When we get a Link Key Notification HCI event we should already have a
hci_conn object. This should have been created either in the Connection
Request event handler, the hci_connect_acl() function or the
hci_cs_create_conn() function (if the request was not sent by the
kernel).
Since the only case that we'd end up not having a hci_conn in the Link
Key Notification event handler would be essentially broken hardware it's
safe to simply bail out from the function if this happens.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/smp.h')
0 files changed, 0 insertions, 0 deletions