]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Complete NCI deactivate in deactivate_ntf
authorIlan Elias <ilane@ti.com>
Sun, 8 Jan 2012 09:21:53 +0000 (11:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:08:38 +0000 (14:08 -0500)
commitb996359e8162c93435475cdba4d3db10516b5d81
tree6ded85d2d1559bec5e0dbdbda81acd7ebb1acb0b
parentf6452ccab227f3f016fe1b2b5dea87381db33d22
NFC: Complete NCI deactivate in deactivate_ntf

If a target was active, complete the NCI deactivate request
only in deactivate_ntf. Otherwise, complete it at deactivate_rsp.
Deactivate_ntf represents the actual disconnection event (sent from
the NCI controller).

Signed-off-by: Ilan Elias <ilane@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/nfc/nci/ntf.c
net/nfc/nci/rsp.c