NFC: Reset poll mod list when stopping pn533 poll
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
cb3a4503f4
commit
7c2a04a933
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue