]> git.openfabrics.org - ~emulex/infiniband.git/commit
NFC: implicitly deactivate in nci_start_poll
authorIlan Elias <ilane@ti.com>
Thu, 22 Sep 2011 08:13:01 +0000 (11:13 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:34:04 +0000 (14:34 -0400)
commitde054799b7ffee8ce1e3971a8dcd7816ccf04977
tree897861c1135c73629c2bbb317583bef487c2bc74
parent2eb1dc101e6ed62fda64a426ffd864c03e550bc2
NFC: implicitly deactivate in nci_start_poll

When start_poll is called, and a target was implicitly activated,
we need to implicitly deactivate it.
On the other hand, when the target was activated by the user,
we should not deactivate it.

Signed-off-by: Ilan Elias <ilane@ti.com>
Acked-by: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/nfc/nci/core.c