bluetooth hid: enable quirk handling for Apple Wireless Keyboards in 2.6.27
authorTorsten Rausche <torsten@rausche.net>
Thu, 12 Feb 2009 01:32:44 +0000 (02:32 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Feb 2009 17:46:28 +0000 (09:46 -0800)
commit057ae37501fc495440e0c42da83945ea036a802e
tree017bbaaec099e9c03c8befbae146fa0f8ffa2808
parent6828698ba2b7411df27de996c13c4d843534778f
bluetooth hid: enable quirk handling for Apple Wireless Keyboards in 2.6.27

This patch is basically a backport of
commit ee8a1a0a1a5817accd03ced7e7ffde3a4430f485 upstream
which was made after the big HID overhaul in 2.6.28.

Kernel 2.6.27 fails to handle quirks for the aluminum Apple Wireless
Keyboard because it is handled as USB device and not as Bluetooth
device. This patch expands 'hidp_blacklist' to make the kernel handle
the keyboard in the same way as the Apple wireless Mighty Mouse (also a
Bluetooth device).

Signed-off-by: Torsten Rausche <torsten@rausche.net>
Cc: Jan Scholz <Scholz@fias.uni-frankfurt.de>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/bluetooth/hidp/core.c