Home
last modified time | relevance | path

Searched refs:uid_skb (Results 1 – 2 of 2) sorted by relevance

/drivers/nfc/pn544/
Dpn544.c517 struct sk_buff *uid_skb; in pn544_hci_complete_target_discovered() local
541 PN544_FELICA_ID, &uid_skb); in pn544_hci_complete_target_discovered()
545 if (uid_skb->len != 8) { in pn544_hci_complete_target_discovered()
546 kfree_skb(uid_skb); in pn544_hci_complete_target_discovered()
551 if ((uid_skb->data[0] == 0x01) && (uid_skb->data[1] == 0xfe)) { in pn544_hci_complete_target_discovered()
552 kfree_skb(uid_skb); in pn544_hci_complete_target_discovered()
566 uid_skb->data, uid_skb->len, NULL); in pn544_hci_complete_target_discovered()
567 kfree_skb(uid_skb); in pn544_hci_complete_target_discovered()
/drivers/nfc/st21nfca/
Dcore.c568 struct sk_buff *uid_skb = NULL; in st21nfca_get_iso14443_3_uid() local
571 ST21NFCA_RF_READER_14443_3_A_UID, &uid_skb); in st21nfca_get_iso14443_3_uid()
575 if (uid_skb->len == 0 || uid_skb->len > NFC_NFCID1_MAXSIZE) { in st21nfca_get_iso14443_3_uid()
580 memcpy(uid, uid_skb->data, uid_skb->len); in st21nfca_get_iso14443_3_uid()
581 *len = uid_skb->len; in st21nfca_get_iso14443_3_uid()
583 kfree_skb(uid_skb); in st21nfca_get_iso14443_3_uid()