1
0
Fork 0

NFC: Reset poll mod list when stopping pn533 poll

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
hifive-unleashed-5.1
Samuel Ortiz 2012-05-21 16:20:01 +02:00
parent cb3a4503f4
commit 7c2a04a933
1 changed files with 2 additions and 0 deletions

View File

@ -1371,6 +1371,8 @@ static void pn533_stop_poll(struct nfc_dev *nfc_dev)
/* prevent pn533_start_poll_complete to issue a new poll meanwhile */
usb_kill_urb(dev->in_urb);
pn533_poll_reset_mod_list(dev);
}
static int pn533_activate_target_nfcdep(struct pn533 *dev)