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>
This commit is contained in:
parent
3415a5fdde
commit
192893c721
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue