wlanutilities/wlansniffer/engine/client/src/wsfsession.cpp
branchRCL_3
changeset 20 a9524956f6b5
parent 13 858c6c491d0e
--- a/wlanutilities/wlansniffer/engine/client/src/wsfsession.cpp	Wed Jun 09 10:53:40 2010 +0300
+++ b/wlanutilities/wlansniffer/engine/client/src/wsfsession.cpp	Mon Jun 21 16:55:05 2010 +0300
@@ -480,7 +480,8 @@
 // ---------------------------------------------------------------------------
 //
 EXPORT_C TInt RWsfSession::ConnectWlanBearerL( TUint32 aIapId, 
-                                              TWsfIapPersistence aPersistence )
+                                               TBool aConnectOnly,
+                                               TWsfIapPersistence aPersistence )
     {
     LOG_ENTERFN( "RWsfSession::ConnectWlanBearerL" );
     LOG_WRITEF( "IAP id = %d", aIapId );
@@ -495,8 +496,10 @@
     CWsfActiveWaiter *waiter = CWsfActiveWaiter::NewL();
     CleanupStack::PushL( waiter );
 
-    SendReceive( ESnifferCmdConnect, TIpcArgs( &pckg, aIapId, aPersistence ), 
-                                                             waiter->iStatus );
+    SendReceive( ESnifferCmdConnect, 
+                 TIpcArgs( &pckg, aIapId, aConnectOnly, aPersistence ), 
+                 waiter->iStatus );
+    
     waiter->WaitForRequest();
     LOG_WRITEF( "message[%d] call returned %d", 
                 ESnifferCmdConnect,
@@ -534,6 +537,7 @@
 //
 EXPORT_C void RWsfSession::ConnectWlanBearer( TPckgBuf<TBool>& aPckg,
                                                TUint32 aIapId, 
+                                               TBool aConnectOnly,
                                                TWsfIapPersistence aPersistence,
                                                TRequestStatus& aStatus )
     {
@@ -544,8 +548,9 @@
     iEventHandler->UnBlockNextConnectedEvent();
     iEventHandler->SetConnecting( ETrue );
 
-    SendReceive( ESnifferCmdConnect, TIpcArgs( &aPckg, aIapId, aPersistence ), 
-                                                aStatus );
+    SendReceive( ESnifferCmdConnect, 
+                 TIpcArgs( &aPckg, aIapId, aConnectOnly, aPersistence ), 
+                 aStatus );
     }