convergedconnectionhandler/cchclientapi/src/cchuiapiimpl.cpp
branchRCL_3
changeset 9 bddb6d4447db
parent 2 7b872347d83b
equal deleted inserted replaced
8:7117cbf1600a 9:bddb6d4447db
  1140         {
  1140         {
  1141         User::Leave( err );
  1141         User::Leave( err );
  1142         }
  1142         }
  1143     
  1143     
  1144     // Check that dialog showing is allowed.
  1144     // Check that dialog showing is allowed.
  1145     __ASSERT_ALWAYS( StateIsAllowed( state ) || 
  1145     __ASSERT_ALWAYS( ( StateIsAllowed( state ) || 
  1146             KCCHErrorInvalidSettings == aServiceStatus.Error(),
  1146        KCCHErrorInvalidSettings == aServiceStatus.Error() ) &&
  1147         User::Leave( KErrNotSupported ) );
  1147        !iConnectionHandler->SearchWlanOngoing(),
       
  1148        User::Leave( KErrNotSupported ) );
  1148     
  1149     
  1149     switch ( aServiceStatus.Error() )
  1150     switch ( aServiceStatus.Error() )
  1150         {
  1151         {
  1151         case KCCHErrorAuthenticationFailed:
  1152         case KCCHErrorAuthenticationFailed:
  1152             {
  1153             {