diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-06-16 19:25:14 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 17:42:42 +0200 |
commit | c29d2444170a4e0709331e357a2738a02666a633 (patch) | |
tree | bacd0f2c19ec66de5fb1ed868957a3b8a54ff180 /net/802 | |
parent | 65cc2b49db63adf1455a9783234383fbec5b8314 (diff) | |
download | lwn-c29d2444170a4e0709331e357a2738a02666a633.tar.gz lwn-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/802')
0 files changed, 0 insertions, 0 deletions