diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/nfc/digital_technology.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/nfc/digital_technology.c b/net/nfc/digital_technology.c index c2c1c0189b7c..d1684cbfea68 100644 --- a/net/nfc/digital_technology.c +++ b/net/nfc/digital_technology.c | |||
@@ -318,6 +318,8 @@ static void digital_in_recv_sel_res(struct nfc_digital_dev *ddev, void *arg, | |||
318 | 318 | ||
319 | if (DIGITAL_SEL_RES_IS_T2T(sel_res)) { | 319 | if (DIGITAL_SEL_RES_IS_T2T(sel_res)) { |
320 | nfc_proto = NFC_PROTO_MIFARE; | 320 | nfc_proto = NFC_PROTO_MIFARE; |
321 | } else if (DIGITAL_SEL_RES_IS_NFC_DEP(sel_res)) { | ||
322 | nfc_proto = NFC_PROTO_NFC_DEP; | ||
321 | } else if (DIGITAL_SEL_RES_IS_T4T(sel_res)) { | 323 | } else if (DIGITAL_SEL_RES_IS_T4T(sel_res)) { |
322 | rc = digital_in_send_rats(ddev, target); | 324 | rc = digital_in_send_rats(ddev, target); |
323 | if (rc) | 325 | if (rc) |
@@ -327,8 +329,6 @@ static void digital_in_recv_sel_res(struct nfc_digital_dev *ddev, void *arg, | |||
327 | * done when receiving the ATS | 329 | * done when receiving the ATS |
328 | */ | 330 | */ |
329 | goto exit_free_skb; | 331 | goto exit_free_skb; |
330 | } else if (DIGITAL_SEL_RES_IS_NFC_DEP(sel_res)) { | ||
331 | nfc_proto = NFC_PROTO_NFC_DEP; | ||
332 | } else { | 332 | } else { |
333 | rc = -EOPNOTSUPP; | 333 | rc = -EOPNOTSUPP; |
334 | goto exit; | 334 | goto exit; |