projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3415a5f
)
Bluetooth: Remove wrong error check
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Fri, 7 Oct 2011 00:27:56 +0000
(21:27 -0300)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Fri, 7 Oct 2011 02:15:06 +0000
(23:15 -0300)
d458a9dfc
add this check, but now it proves to be wrong.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hidp/core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hidp/core.c
b/net/bluetooth/hidp/core.c
index
8d99a17
..
7722d83
100644
(file)
--- a/
net/bluetooth/hidp/core.c
+++ b/
net/bluetooth/hidp/core.c
@@
-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;
}