summaryrefslogtreecommitdiff
path: root/net/bluetooth/hidp/core.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-05-16 13:49:20 +0400
committerJiri Kosina <jkosina@suse.cz>2008-10-15 01:50:49 +0400
commitd458a9dfc4de24870b8c747484b1988726534bee (patch)
tree6ffc58f210054f615c60a495b1a4493d8e7cef14 /net/bluetooth/hidp/core.c
parent5f22a7992349c5ca3842190be52d5e9a1dd7adf4 (diff)
downloadlinux-d458a9dfc4de24870b8c747484b1988726534bee.tar.xz
HID: move ignore quirks
Move ignore quirks from usbhid-quirks into hid-core code. Also don't output warning when ENODEV is error code in usbhid and try ordinal input in hidp when that error is returned. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'net/bluetooth/hidp/core.c')
-rw-r--r--net/bluetooth/hidp/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c
index d8029cfcd452..4ae3207e8a98 100644
--- a/net/bluetooth/hidp/core.c
+++ b/net/bluetooth/hidp/core.c
@@ -864,7 +864,7 @@ int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock,
if (req->rd_size > 0) {
err = hidp_setup_hid(session, req);
- if (err)
+ if (err && err != -ENODEV)
goto err_skb;
}