diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-10-07 02:27:56 +0200 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-10-07 04:15:06 +0200 |
commit | 192893c72197b3f49f76a315024bdcd5aa26fff3 (patch) | |
tree | c1ba3717aa43dced795a6e574043b4536841fe50 /net/bluetooth/hidp | |
parent | Bluetooth: Fix input device registration (diff) | |
download | linux-192893c72197b3f49f76a315024bdcd5aa26fff3.tar.xz linux-192893c72197b3f49f76a315024bdcd5aa26fff3.zip |
Bluetooth: Remove wrong error check
d458a9dfc add this check, but now it proves to be wrong.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/hidp')
-rw-r--r-- | net/bluetooth/hidp/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index 8d99a17c478c..7722d8346684 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c @@ -1023,7 +1023,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 && err != -ENODEV) + if (err) goto purge; } |