HID: sony: fix sony_set_operational_bt
authorAntonio Ospite <ospite@studenti.unina.it>
Mon, 3 May 2010 15:19:03 +0000 (17:19 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 3 May 2010 15:19:03 +0000 (17:19 +0200)
commitfddb33f2e8872fa4857dd29f0b71a523c9ed5577
tree30df54407d5270d03a29df552be0388167b58aed
parented7e2ca24bfff5c7a09de8a05c536f68560b34fb
HID: sony: fix sony_set_operational_bt

Don't send the report type as part of the data, this prevents the
controller from going into the operational state at all.

This is completely equivalent to what the code originally meant to accomplish:
as per in net/bluetooth/hidp/core.c::hidp_output_raw_report(), by using
HID_FEATURE_REPORT here, what will be actually sent is
(HIDP_TRANS_SET_REPORT | HIDP_DATA_RTYPE_FEATURE) which is exactly 0x53.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c