Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 192893c7 authored by Gustavo Padovan's avatar Gustavo Padovan
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}