From: Johan Hedberg Date: Tue, 7 Dec 2010 22:21:07 +0000 (+0200) Subject: Bluetooth: Make hci_send_to_sock usable for management control sockets X-Git-Tag: v2.6.38-rc1~476^2~14^2~3^2~43^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a40c406cbdd28dcca3483065bc2ba794cf5aaab7;p=pandora-kernel.git Bluetooth: Make hci_send_to_sock usable for management control sockets In order to send data to management control sockets the function should: - skip checks intended for raw HCI data and stack internal events - make sure RAW HCI data or stack internal events don't go to management control sockets In order to accomplish this the patch adds a new member to the bluetooth skb private data to flag skb's that are destined for management control sockets. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed