summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnci/jni/NativeNfcManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nci/jni/NativeNfcManager.cpp b/nci/jni/NativeNfcManager.cpp
index 98e243a1..36e89c00 100755
--- a/nci/jni/NativeNfcManager.cpp
+++ b/nci/jni/NativeNfcManager.cpp
@@ -1052,7 +1052,7 @@ void nfcManager_disableDiscovery (JNIEnv* e, jobject o)
status = stopPolling_rfDiscoveryDisabled();
PeerToPeer::getInstance().enableP2pListening (false);
-
+ sP2pEnabled = false;
sDiscoveryEnabled = false;
//if nothing is active after this, then tell the controller to power down
if (! PowerSwitch::getInstance ().setModeOff (PowerSwitch::DISCOVERY))