diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-10-06 21:27:56 -0300 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-10-06 23:15:06 -0300 |
commit | 192893c72197b3f49f76a315024bdcd5aa26fff3 (patch) | |
tree | c1ba3717aa43dced795a6e574043b4536841fe50 /net/bluetooth/hidp | |
parent | 3415a5fdde715062aa18bd6361f8e75cfbb31208 (diff) |
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; } |