Skip to content

Commit

Permalink
Bluetooth: mgmt: Centralize message length checks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johan Hedberg committed Mar 1, 2012
1 parent 9d1acbf commit be22b54
Showing 1 changed file with 52 additions and 168 deletions.
Loading

0 comments on commit be22b54

Please sign in to comment.