wlanutilities/wlansniffer/engine/client/src/wsfeventhandler.cpp
branchRCL_3
changeset 11 8b0eae1b1d71
parent 0 56b72877c1cb
child 13 858c6c491d0e
equal deleted inserted replaced
10:dff6ebfd236f 11:8b0eae1b1d71
   109         case EEngineConnected:
   109         case EEngineConnected:
   110             {
   110             {
   111             if ( !iBlockConnectedEvent )
   111             if ( !iBlockConnectedEvent )
   112                 {
   112                 {
   113                 // if the event wasn't blocked, notify the observer
   113                 // if the event wasn't blocked, notify the observer
   114                 // get the connection name
   114                 iObserver->WlanConnectionActivatedL();
   115                 HBufC* accessPointName = iSession->ConnectedAccountNameL();
       
   116                 CleanupStack::PushL( accessPointName );
       
   117                 iObserver->WlanConnectionActivatedL( *accessPointName );
       
   118                 CleanupStack::PopAndDestroy( accessPointName );
       
   119                 }
   115                 }
   120             else
   116             else
   121                 {
   117                 {
   122                 // if it was blocked, just clear the flag
   118                 // if it was blocked, just clear the flag
   123                 iBlockConnectedEvent = EFalse;
   119                 iBlockConnectedEvent = EFalse;