projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e952f31
)
[BLUETOOTH]: Return negative error constant
author
Tobias Klauser
<tklauser@nuerscht.ch>
Wed, 22 Mar 2006 07:53:16 +0000
(23:53 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 22 Mar 2006 07:53:16 +0000
(23:53 -0800)
Return negative error constant.
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bluetooth/bnep/core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/bnep/core.c
b/net/bluetooth/bnep/core.c
index cbb20c32a6c8f3e9631d92e6f700497c04099d0e..d908d49dc9f857cf753035badfba2c8785e285b9 100644
(file)
--- a/
net/bluetooth/bnep/core.c
+++ b/
net/bluetooth/bnep/core.c
@@
-532,8
+532,8
@@
int bnep_add_connection(struct bnep_connadd_req *req, struct socket *sock)
dev = alloc_netdev(sizeof(struct bnep_session),
(*req->device) ? req->device : "bnep%d",
bnep_net_setup);
- if (!dev)
- return ENOMEM;
+ if (!dev)
+ return
-
ENOMEM;
down_write(&bnep_session_sem);