From: Johan Hedberg Date: Thu, 13 Jan 2011 19:56:52 +0000 (+0200) Subject: Bluetooth: Add class of device control to the management interface X-Git-Tag: v2.6.39-rc1~468^2~238^2^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1aff6f09491f454d4cd9f405c783fa5e9d3168a0;p=pandora-kernel.git Bluetooth: Add class of device control to the management interface This patch adds the possibility for user space to fully control the Class of Device value of local adapters. To control the service class bits each UUID that's added comes with a service class "hint" which acts as a mask of bits that the UUID needs to have enabled. The set_service_cache management command is used to make sure we queue up all UUID changes as user space initializes its drivers and then send a single HCI_Write_Class_of_Device command when initialization is complete. Signed-off-by: Johan Hedberg Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed