提交 43472fff 编写于 作者: S Samuel Ortiz 提交者: John W. Linville

NFC: Return the amount of LLCP bytes queued to sock_sendmsg

Otherwise an LLCP send() always returns 0.
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 4260c13b
...@@ -502,7 +502,7 @@ int nfc_llcp_send_i_frame(struct nfc_llcp_sock *sock, ...@@ -502,7 +502,7 @@ int nfc_llcp_send_i_frame(struct nfc_llcp_sock *sock,
kfree(msg_data); kfree(msg_data);
return 0; return len;
} }
int nfc_llcp_send_rr(struct nfc_llcp_sock *sock) int nfc_llcp_send_rr(struct nfc_llcp_sock *sock)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册