Commit 192893c7 authored by Gustavo F. Padovan's avatar Gustavo F. Padovan

Bluetooth: Remove wrong error check

d458a9df add this check, but now it proves to be wrong.
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent 3415a5fd
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment