Skip to content

Commit

Permalink
NFC: Return the amount of LLCP bytes queued to sock_sendmsg
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Samuel Ortiz authored and John W. Linville committed May 15, 2012
1 parent 4260c13 commit 43472ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/nfc/llcp/commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 43472ff

Please sign in to comment.