projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4260c13
)
NFC: Return the amount of LLCP bytes queued to sock_sendmsg
author
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 7 May 2012 10:31:21 +0000
(12:31 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 15 May 2012 21:28:02 +0000
(17:28 -0400)
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>
net/nfc/llcp/commands.c
patch
|
blob
|
blame
|
history
diff --git
a/net/nfc/llcp/commands.c
b/net/nfc/llcp/commands.c
index 11a3b7d98dc5bbeb1a1cd4c91ef193f4dd921844..c4c100dc52ee1cae1689f25b6155e27e2b255004 100644
(file)
--- a/
net/nfc/llcp/commands.c
+++ b/
net/nfc/llcp/commands.c
@@
-502,7
+502,7
@@
int nfc_llcp_send_i_frame(struct nfc_llcp_sock *sock,
kfree(msg_data);
- return
0
;
+ return
len
;
}
int nfc_llcp_send_rr(struct nfc_llcp_sock *sock)