diff options
author | Dave Young <hidave.darkstar@gmail.com> | 2008-02-05 03:07:14 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-05 03:07:14 -0800 |
commit | eff001e35a857361f3fb289fea86e97c334a5446 (patch) | |
tree | c7ec83833c94eab39fd844a36a51896a63878f8b /net/ax25/ax25_std_subr.c | |
parent | a26af1e08a3a1e0f88e6f2685ac2313d713a59c9 (diff) |
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>
Diffstat (limited to 'net/ax25/ax25_std_subr.c')
0 files changed, 0 insertions, 0 deletions