Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43472fff authored by Samuel Ortiz's avatar Samuel Ortiz Committed by John W. Linville
Browse files

NFC: Return the amount of LLCP bytes queued to sock_sendmsg



Otherwise an LLCP send() always returns 0.

Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4260c13b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)