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

Commit a8f686ec authored by Christophe Ricard's avatar Christophe Ricard Committed by Samuel Ortiz
Browse files

NFC: st21nfca: Change st21nfca_get_iso14443_3_uid parameter name



st21nfca_get_iso14443_3_uid gate parameter name is incorrect
and should be uid.

Signed-off-by: default avatarChristophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 9906a88d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -572,7 +572,7 @@ static int st21nfca_get_iso14443_3_sak(struct nfc_hci_dev *hdev, u8 *sak)
	return r;
	return r;
}
}


static int st21nfca_get_iso14443_3_uid(struct nfc_hci_dev *hdev, u8 *gate,
static int st21nfca_get_iso14443_3_uid(struct nfc_hci_dev *hdev, u8 *uid,
				       int *len)
				       int *len)
{
{
	int r;
	int r;
@@ -588,7 +588,7 @@ static int st21nfca_get_iso14443_3_uid(struct nfc_hci_dev *hdev, u8 *gate,
		goto exit;
		goto exit;
	}
	}


	memcpy(gate, uid_skb->data, uid_skb->len);
	memcpy(uid, uid_skb->data, uid_skb->len);
	*len = uid_skb->len;
	*len = uid_skb->len;
exit:
exit:
	kfree_skb(uid_skb);
	kfree_skb(uid_skb);