Bluetooth: AMP: Fix possible NULL dereference
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 5 Oct 2012 13:56:53 +0000 (16:56 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sun, 7 Oct 2012 22:14:30 +0000 (06:14 +0800)
commit079db0c6e3854b3af9808268f3b884fa48ed0034
treed65a7dca5ba34a0822d6c2c6721da78401b88cfa
parentdfee1ebc0e363ff1dc233c4a5246bf3e7f5c5ca6
Bluetooth: AMP: Fix possible NULL dereference

Check that link key exist before accessing.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/amp.c