wlanutilities/wlansniffer/mainapplication/src/wsfmaincontroller.cpp
branchRCL_3
changeset 18 aaabc7526ded
parent 13 858c6c491d0e
child 20 a9524956f6b5
equal deleted inserted replaced
17:024ee8b21fe2 18:aaabc7526ded
   468     // Prevent connections to ad-hoc + WPA 
   468     // Prevent connections to ad-hoc + WPA 
   469     if ( info.iNetMode == CMManager::EAdhoc 
   469     if ( info.iNetMode == CMManager::EAdhoc 
   470             && info.iSecurityMode == CMManager::EWlanSecModeWpa )
   470             && info.iSecurityMode == CMManager::EWlanSecModeWpa )
   471         {
   471         {
   472         iAppUi->ShowGlobalErrorNoteL( KErrNotSupported );
   472         iAppUi->ShowGlobalErrorNoteL( KErrNotSupported );
       
   473         CleanupStack::PopAndDestroy();
   473         return;
   474         return;
   474         }
   475         }
   475 
   476 
   476     TInt result( KErrNone );
   477     TInt result( KErrNone );
   477     
   478     
   556     // Prevent connections to ad-hoc + WPA 
   557     // Prevent connections to ad-hoc + WPA 
   557     if ( info.iNetMode == CMManager::EAdhoc 
   558     if ( info.iNetMode == CMManager::EAdhoc 
   558             && info.iSecurityMode == CMManager::EWlanSecModeWpa )
   559             && info.iSecurityMode == CMManager::EWlanSecModeWpa )
   559         {
   560         {
   560         iAppUi->ShowGlobalErrorNoteL( KErrNotSupported );
   561         iAppUi->ShowGlobalErrorNoteL( KErrNotSupported );
       
   562         CleanupStack::PopAndDestroy();
   561         return;
   563         return;
   562         }
   564         }
   563         
   565         
   564     if ( !info.Known() )
   566     if ( !info.Known() )
   565         {
   567         {