]> Pileus Git - ~andy/linux/commit
Bluetooth: hidp: remove wrong send_report at init
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 11 Jul 2013 13:41:30 +0000 (15:41 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 25 Jul 2013 13:15:24 +0000 (14:15 +0100)
commit159d865f2078ffa4441abb0155f725368371f836
tree6a82677f2246d383a3f655dc436237917bcf45b2
parent2583d706a13d0dc7fa591d5bb036454d0ddbf5b0
Bluetooth: hidp: remove wrong send_report at init

The USB hid implementation does retrieve the reports during the start.
However, this implementation does not call the HID command GET_REPORT
(which would fetch the current status of each report), but use the
DATA command, which is an Output Report (so transmitting data from the
host to the device).
The Wiimote controller is already guarded against this problem in the
protocol, but it is not conformant to the specification to set all the
reports to 0 on start.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hidp/core.c