]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix Class of Device indication when powering off
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 Jan 2013 14:15:34 +0000 (16:15 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 23 Jan 2013 03:41:23 +0000 (01:41 -0200)
commit4df9b4d69797afb60e3c8fd7db3ab407e4b00cd5
tree0b2ae591f9205b39844db60d4be14c84a711d07f
parent0f6f675c206c0f72a78bf234798f0e9826126813
Bluetooth: Fix Class of Device indication when powering off

When a HCI device is powered off the Management interface specification
dictates that the class of device value is indicated as zero. This patch
fixes sending of the appropriate class of device changed event when a
HCI device is powered off.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c