diff options
author | Ram Malovany <ramm@ti.com> | 2012-07-19 10:26:10 +0300 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-08-06 15:19:36 -0300 |
commit | 7cc8380eb10347016d95bf6f9d842c2ae6d12932 (patch) | |
tree | 26e46322ed9e86972c87b003b514afc1550d44c6 /net/bluetooth/smp.c | |
parent | c810089c27e48b816181b454fcc493d19fdbc2ba (diff) | |
download | op-kernel-dev-7cc8380eb10347016d95bf6f9d842c2ae6d12932.zip op-kernel-dev-7cc8380eb10347016d95bf6f9d842c2ae6d12932.tar.gz |
Bluetooth: Fix using a NULL inquiry cache entry
If the device was not found in a list of found devices names of which
are pending.This may happen in a case when HCI Remote Name Request
was sent as a part of incoming connection establishment procedure.
Hence there is no need to continue resolving a next name as it will
be done upon receiving another Remote Name Request Complete Event.
This will fix a kernel crash when trying to use this entry to resolve
the next name.
Cc: stable@vger.kernel.org
Signed-off-by: Ram Malovany <ramm@ti.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/smp.c')
0 files changed, 0 insertions, 0 deletions