diff options
Diffstat (limited to 'drivers/nfc/pn533.c')
-rw-r--r-- | drivers/nfc/pn533.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c index dbf214ef7321..ea1caaeed13c 100644 --- a/drivers/nfc/pn533.c +++ b/drivers/nfc/pn533.c | |||
@@ -1368,7 +1368,7 @@ static int pn533_data_exchange(struct nfc_dev *nfc_dev, u32 target_idx, | |||
1368 | PN533_CMD_DATAEXCH_DATA_MAXLEN + | 1368 | PN533_CMD_DATAEXCH_DATA_MAXLEN + |
1369 | PN533_FRAME_TAIL_SIZE; | 1369 | PN533_FRAME_TAIL_SIZE; |
1370 | 1370 | ||
1371 | skb_resp = nfc_alloc_skb(skb_resp_len, GFP_KERNEL); | 1371 | skb_resp = nfc_alloc_recv_skb(skb_resp_len, GFP_KERNEL); |
1372 | if (!skb_resp) { | 1372 | if (!skb_resp) { |
1373 | rc = -ENOMEM; | 1373 | rc = -ENOMEM; |
1374 | goto error; | 1374 | goto error; |