From: Johan Hedberg Date: Fri, 5 Dec 2014 11:36:03 +0000 (+0200) Subject: Bluetooth: Use cmd_complete callback for authentication mgmt commands X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~28^2~5^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7776d1d8051469e61c8784076921ee16c1093ba1;p=pandora-kernel.git Bluetooth: Use cmd_complete callback for authentication mgmt commands This patch converts the user confirmation & PIN code mgmt commands to take advantage of the new cmd_complete callback for pending mgmt commands. The patch also adds a new generic addr_cmd_complete() helper function to be used with commands that send a mgmt_addr_info response based on a mgmt_addr_info in the beginning of the command parameters. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed