mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
NFC: Return the amount of LLCP bytes queued to sock_sendmsg
Otherwise an LLCP send() always returns 0. Signed-off-by: Samuel Ortiz <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
4260c13ba9
commit
43472fffb4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue