From: Johan Hedberg Date: Sun, 20 Jan 2013 12:27:22 +0000 (+0200) Subject: Bluetooth: Fix returning proper cmd_complete for mgmt_block/unblock X-Git-Tag: v3.9-rc1~139^2~2^2^2~42^2~49^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d0846d416a6c8b7fda1b24aa7369818a7dfa00e;p=pandora-kernel.git Bluetooth: Fix returning proper cmd_complete for mgmt_block/unblock The Block/Unblock Device Management commands should return Command Complete instead of Command Status whenever possible so that user space can distinguish exactly which command failed in the case of multiple commands. This patch does the necessary changes in the command handler to return the right event to user space. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed