]> git.baikalelectronics.ru Git - kernel.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)
commiteb49b2767e20d288575d6820ed139aa437927d77
tree897861c1135c73629c2bbb317583bef487c2bc74
parent7a15a2a6b2f5ef36cae5262ae0703ae3d5f9d1e3
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