Bluetooth: Make l2cap_le_sig_cmd logic consistent
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 2 Dec 2013 10:21:29 +0000 (12:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:33 +0000 (07:05 -0800)
commitb5ecba642290a0f28a2dca15e4fdf2a9779bc116
treef983c645cf1e065fe625806c27ecd631e8100a66
parent3defe01a4839978f0822b63f21bb6ed676e866e3
Bluetooth: Make l2cap_le_sig_cmd logic consistent

This patch makes the error handling and return logic of l2cap_le_sig_cmd
consistent with its BR/EDR counterpart.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c