From: Samuel Ortiz Date: Mon, 21 May 2012 14:20:01 +0000 (+0200) Subject: NFC: Reset poll mod list when stopping pn533 poll X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7c2a04a933d51b45af7660bd1790339eb3c33308;p=linux-beck.git NFC: Reset poll mod list when stopping pn533 poll Signed-off-by: Samuel Ortiz --- diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c index db4078765ac9..6b8a65ca0d71 100644 --- a/drivers/nfc/pn533.c +++ b/drivers/nfc/pn533.c @@ -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)