Bluetooth: Fix invalid memory access when there's no SMP channel
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Wed, 1 Feb 2012 21:27:56 +0000 (18:27 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:31 +0000 (17:01 +0200)
We only should try to free the SMP channel that was created if there
is a pending SMP session.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>

No differences found