From: Dave Young Date: Tue, 5 Feb 2008 11:07:14 +0000 (-0800) Subject: bluetooth: hidp_process_hid_control remove unnecessary parameter dealing X-Git-Tag: v2.6.25-rc1~787^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eff001e35a857361f3fb289fea86e97c334a5446;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- Reading git-diff-tree failed