diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-06-16 18:25:14 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 17:42:42 +0200 |
commit | c29d2444170a4e0709331e357a2738a02666a633 (patch) | |
tree | bacd0f2c19ec66de5fb1ed868957a3b8a54ff180 /net/bluetooth/smp.h | |
parent | Bluetooth: Use struct delayed_work for HCI command timeout (diff) | |
download | linux-c29d2444170a4e0709331e357a2738a02666a633.tar.xz linux-c29d2444170a4e0709331e357a2738a02666a633.zip |
Bluetooth: Fix missing NULL check for smp_chan_create() return value
The smp_chan_create function may return NULL, e.g. in the case of memory
allocation failure, so we always need to check for this.
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