projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ip6_tunnel: Use ip6_tnl_dev_init as the ndo_init function.
[firefly-linux-kernel-4.4.55.git]
/
net
/
bluetooth
/
l2cap_core.c
diff --git
a/net/bluetooth/l2cap_core.c
b/net/bluetooth/l2cap_core.c
index 4be6a264b47502a25fd21f2fdbb5c647e9b36f84..68843a28a7af6a3e52f92f0cde033e03b031560a 100644
(file)
--- a/
net/bluetooth/l2cap_core.c
+++ b/
net/bluetooth/l2cap_core.c
@@
-4333,7
+4333,7
@@
static inline int l2cap_information_rsp(struct l2cap_conn *conn,
struct l2cap_info_rsp *rsp = (struct l2cap_info_rsp *) data;
u16 type, result;
- if (cmd_len
!=
sizeof(*rsp))
+ if (cmd_len
<
sizeof(*rsp))
return -EPROTO;
type = __le16_to_cpu(rsp->type);