projects
/
ziggy471-frankenstein-kernel.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
latest snapshot
plain
|
history
Update to 2.6.32.39 Mainline
/net/bluetooth/bnep/sock.c
blob:
e857628b0b27e61234102dc843ab0cc84a5f5c42
-> blob:
efc85dc9d8c34c886adbfa6ebe111c1658b6c604
--- net/bluetooth/bnep/sock.c
+++ net/bluetooth/bnep/sock.c
@@ -88,6 +88,7 @@ static int bnep_sock_ioctl(struct socket
sockfd_put(nsock);
return -EBADFD;
}
+ ca.device[sizeof(ca.device)-1] = 0;
err = bnep_add_connection(&ca, nsock);
if (!err) {