commit | d31652a26bc9e752a99b6ac3b61353129934e451 | [log] [tgz] |
---|---|---|
author | Arron Wang <arron.wang@intel.com> | Thu Nov 14 17:03:41 2013 +0800 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Sat Jan 04 03:31:32 2014 +0100 |
tree | 7f5c115d57ea99951413eb2894b9b50ff485d0de | |
parent | b7e047358449f8eb5cba8197b42280b676b82e54 [diff] |
NFC: Fix target mode p2p link establishment With commit e29a9e2ae165620d, we set the active_target pointer from nfc_dep_link_is_up() in order to support the case where the target detection and the DEP link setting are done atomically by the driver. That can only happen in initiator mode, so we need to check for that otherwise we fail to bring a p2p link in target mode. Signed-off-by: Arron Wang <arron.wang@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>