commit | be22b54e8711734f4cb93ac31723b955fe9dbbe0 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Thu Mar 01 22:24:41 2012 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Thu Mar 01 23:55:58 2012 +0200 |
tree | bd767d8adc1d3ab28700335c99d9e55572d0b82c | |
parent | 9d1acbfb774fa5e043a44adedfcc36c9837a5e61 [diff] |
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>