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

Commit 67b52e55 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller
Browse files

[BLUETOOTH]: Return negative error constant



Return negative error constant.

Signed-off-by: default avatarTobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e952f31b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -533,7 +533,7 @@ int bnep_add_connection(struct bnep_connadd_req *req, struct socket *sock)
			   (*req->device) ? req->device : "bnep%d",
			   bnep_net_setup);
	if (!dev)
		return ENOMEM;
		return -ENOMEM;


	down_write(&bnep_session_sem);