projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8445796
)
NFC: Send a receiver ready frame only to reply to an I frame
author
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 30 May 2012 16:06:11 +0000
(18:06 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 4 Jun 2012 19:34:33 +0000
(21:34 +0200)
Sending an RR as a reply to another RR is fine but not quite logical.
We should send RRs only as a reply to I frames.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/llcp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/nfc/llcp/llcp.c
b/net/nfc/llcp/llcp.c
index 0fc60da6a0a1d02d764a75227a9a2cbc751ac387..3fe68e1d2e88b4ca0dc75cf806617c8aba0c6377 100644
(file)
--- a/
net/nfc/llcp/llcp.c
+++ b/
net/nfc/llcp/llcp.c
@@
-810,7
+810,7
@@
static void nfc_llcp_recv_hdlc(struct nfc_llcp_local *local,
else if (ptype == LLCP_PDU_RNR)
llcp_sock->remote_ready = false;
- if (nfc_llcp_queue_i_frames(llcp_sock) == 0)
+ if (nfc_llcp_queue_i_frames(llcp_sock) == 0
&& ptype == LLCP_PDU_I
)
nfc_llcp_send_rr(llcp_sock);
release_sock(sk);
This page took
0.028916 seconds
and
5
git commands to generate.