commit | 192893c72197b3f49f76a315024bdcd5aa26fff3 | [log] [tgz] |
---|---|---|
author | Gustavo F. Padovan <padovan@profusion.mobi> | Thu Oct 06 21:27:56 2011 -0300 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Thu Oct 06 23:15:06 2011 -0300 |
tree | c1ba3717aa43dced795a6e574043b4536841fe50 | |
parent | 3415a5fdde715062aa18bd6361f8e75cfbb31208 [diff] [blame] |
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>
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index 8d99a17..7722d83 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c
@@ -1023,7 +1023,7 @@ if (req->rd_size > 0) { err = hidp_setup_hid(session, req); - if (err && err != -ENODEV) + if (err) goto purge; }