android_kernel_xiaomi_sm7250/net/bluetooth/hidp
Dave Young eff001e35a bluetooth: hidp_process_hid_control remove unnecessary parameter dealing
According to the bluetooth HID spec v1.0 chapter 7.4.2

"This code requests a major state change in a BT-HID device.  A HID_CONTROL
request does not generate a HANDSHAKE response."

"A HID_CONTROL packet with a parameter of VIRTUAL_CABLE_UNPLUG is the only
HID_CONTROL packet a device can send to a host.  A host will ignore all other
packets."

So in the hidp_precess_hid_control function, we just need to deal with the
UNLUG packet.

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-02-05 03:07:14 -08:00
..
core.c bluetooth: hidp_process_hid_control remove unnecessary parameter dealing 2008-02-05 03:07:14 -08:00
hidp.h [Bluetooth] Add support for using the HID subsystem 2007-02-26 11:42:38 -08:00
Kconfig [Bluetooth] Add support for using the HID subsystem 2007-02-26 11:42:38 -08:00
Makefile
sock.c [BLUETOOTH]: Use sockfd_put() 2008-01-28 15:00:48 -08:00