From: Johan Hedberg Date: Thu, 1 Mar 2012 20:24:41 +0000 (+0200) Subject: Bluetooth: mgmt: Centralize message length checks X-Git-Tag: v3.4-rc1~177^2~112^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be22b54e8711734f4cb93ac31723b955fe9dbbe0;p=pandora-kernel.git 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 Acked-by: Marcel Holtmann --- Reading git-diff-tree failed