提交 192893c7 编写于 作者: G Gustavo F. Padovan

Bluetooth: Remove wrong error check

d458a9df add this check, but now it proves to be wrong.
Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
上级 3415a5fd
...@@ -1023,7 +1023,7 @@ int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock, ...@@ -1023,7 +1023,7 @@ int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock,
if (req->rd_size > 0) { if (req->rd_size > 0) {
err = hidp_setup_hid(session, req); err = hidp_setup_hid(session, req);
if (err && err != -ENODEV) if (err)
goto purge; goto purge;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册