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

[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
......@@ -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);
......
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