From: Johan Hedberg Date: Fri, 6 Mar 2015 19:08:52 +0000 (+0200) Subject: Bluetooth: Move all mgmt command quirks to handler table X-Git-Tag: omap-for-v4.2/o2_dc~131^2~244^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9a245fb12315f8c6528b29a991a004859c982d5;p=pandora-kernel.git Bluetooth: Move all mgmt command quirks to handler table In order to completely generalize the mgmt command handling we need to move away command-specific information from mgmt_control() into the actual command table. This patch adds a new 'flags' field to the handler entries which can now contain the following command specific information: - Command takes variable length parameters - Command doesn't target any specific HCI device - Command can be sent when the HCI device is unconfigured After this the mgmt_control() function is completely generic and can potentially be reused by new HCI channels. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed