diff options
Diffstat (limited to 'net/nfc/llcp/commands.c')
-rw-r--r-- | net/nfc/llcp/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/nfc/llcp/commands.c b/net/nfc/llcp/commands.c index 11a3b7d98dc5..bf8ae4f0b90c 100644 --- a/net/nfc/llcp/commands.c +++ b/net/nfc/llcp/commands.c | |||
@@ -488,7 +488,7 @@ int nfc_llcp_send_i_frame(struct nfc_llcp_sock *sock, | |||
488 | 488 | ||
489 | memcpy(skb_put(pdu, frag_len), msg_ptr, frag_len); | 489 | memcpy(skb_put(pdu, frag_len), msg_ptr, frag_len); |
490 | 490 | ||
491 | skb_queue_head(&sock->tx_queue, pdu); | 491 | skb_queue_tail(&sock->tx_queue, pdu); |
492 | 492 | ||
493 | lock_sock(sk); | 493 | lock_sock(sk); |
494 | 494 | ||
@@ -502,7 +502,7 @@ int nfc_llcp_send_i_frame(struct nfc_llcp_sock *sock, | |||
502 | 502 | ||
503 | kfree(msg_data); | 503 | kfree(msg_data); |
504 | 504 | ||
505 | return 0; | 505 | return len; |
506 | } | 506 | } |
507 | 507 | ||
508 | int nfc_llcp_send_rr(struct nfc_llcp_sock *sock) | 508 | int nfc_llcp_send_rr(struct nfc_llcp_sock *sock) |