wlanutilities/wlansniffer/engine/server/src/wsfengine.cpp
branchRCL_3
changeset 12 981afc7d3841
parent 11 8b0eae1b1d71
child 20 a9524956f6b5
--- a/wlanutilities/wlansniffer/engine/server/src/wsfengine.cpp	Mon Mar 15 12:44:54 2010 +0200
+++ b/wlanutilities/wlansniffer/engine/server/src/wsfengine.cpp	Wed Mar 31 23:17:49 2010 +0300
@@ -631,6 +631,13 @@
             iIapPersistence = EIapExpireOnBrowserExit;
             }
         }
+    else if ( result != KErrNone )
+        {
+        LOG_WRITE( "abort connection did not stopped connection" );
+        // Try to disconnect via normal disconnect if engine is  
+        // connected and and there is connection id
+        DisconnectWlan();
+        }
     }