From: Johan Hedberg Date: Wed, 3 Apr 2013 18:50:29 +0000 (+0300) Subject: Bluetooth: Add support for custom event terminated commands X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~43^2^2~62^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02350a725f5bc44490c30a10e7e04a12a5ecd406;p=pandora-kernel.git Bluetooth: Add support for custom event terminated commands This patch adds support for having commands within HCI requests that do not result in a command complete but some other event. This is at least needed for some vendor specific commands to be issued in the hdev->setup() procecure, but might also be useful for other commands. The way that the support is implemented is by extending the skb control buffer to have a field to indicate that the command is expected to terminate with a special event. After sending the command each received event can then be compared against this field through hdev->sent_cmd. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann --- Reading git-diff-tree failed