summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_sock.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-03-01 21:24:41 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2012-03-01 22:55:58 +0100
commitbe22b54e8711734f4cb93ac31723b955fe9dbbe0 (patch)
treebd767d8adc1d3ab28700335c99d9e55572d0b82c /net/bluetooth/l2cap_sock.c
parentBluetooth: mgmt: Add defines for command sizes (diff)
downloadlinux-be22b54e8711734f4cb93ac31723b955fe9dbbe0.tar.xz
linux-be22b54e8711734f4cb93ac31723b955fe9dbbe0.zip
Bluetooth: mgmt: Centralize message length checks
This patch moves the command length information into the command handler table allowing the removal of length checks from the handler functions and doing the check in a single place before calling the handler function. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
0 files changed, 0 insertions, 0 deletions