aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/nfc/hci/shdlc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/nfc/hci/shdlc.c b/net/nfc/hci/shdlc.c
index 18d1536df5f6..6f840c18c892 100644
--- a/net/nfc/hci/shdlc.c
+++ b/net/nfc/hci/shdlc.c
@@ -404,12 +404,12 @@ static void nfc_shdlc_rcv_u_frame(struct nfc_shdlc *shdlc,
404 r = nfc_shdlc_connect_send_ua(shdlc); 404 r = nfc_shdlc_connect_send_ua(shdlc);
405 nfc_shdlc_connect_complete(shdlc, r); 405 nfc_shdlc_connect_complete(shdlc, r);
406 } 406 }
407 } else if (shdlc->state > SHDLC_NEGOCIATING) { 407 } else if (shdlc->state == SHDLC_CONNECTED) {
408 /* 408 /*
409 * TODO: Chip wants to reset link 409 * Chip wants to reset link. This is unexpected and
410 * send ua, empty skb lists, reset counters 410 * unsupported.
411 * propagate info to HCI layer
412 */ 411 */
412 shdlc->hard_fault = -ECONNRESET;
413 } 413 }
414 break; 414 break;
415 case U_FRAME_UA: 415 case U_FRAME_UA: