commit | 43472fffb4628773397297f7e365983accd4a0ef | [log] [tgz] |
---|---|---|
author | Samuel Ortiz <sameo@linux.intel.com> | Mon May 07 12:31:21 2012 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Tue May 15 17:28:02 2012 -0400 |
tree | 878fdffb56405e2910f3f8ba681ffde48477112d | |
parent | 4260c13ba9102d466f017139de990dfffaf4d997 [diff] [blame] |
NFC: Return the amount of LLCP bytes queued to sock_sendmsg Otherwise an LLCP send() always returns 0. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
diff --git a/net/nfc/llcp/commands.c b/net/nfc/llcp/commands.c index 11a3b7d..c4c100d 100644 --- a/net/nfc/llcp/commands.c +++ b/net/nfc/llcp/commands.c
@@ -502,7 +502,7 @@ kfree(msg_data); - return 0; + return len; } int nfc_llcp_send_rr(struct nfc_llcp_sock *sock)