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)
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>

No differences found