From: Johan Hedberg Date: Fri, 5 Dec 2014 11:36:02 +0000 (+0200) Subject: Bluetooth: Convert Disconnect mgmt command to use cmd_complete callback X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~28^2~5^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5818c2241247c0a5f967e41e952682b10db6fd6;p=pandora-kernel.git Bluetooth: Convert Disconnect mgmt command to use cmd_complete callback This patch converts the Disconnect mgmt command to take advantage of the new cmd_complete callback that's part of the pending_cmd struct. There are many commands whose response parameters map 1:1 to the command parameters and Disconnect is one of them. This patch adds a generic_cmd_complete() function for such commands that can be reused in subsequent patches. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed