equal
deleted
inserted
replaced
371 { |
371 { |
372 // check if the array has any items |
372 // check if the array has any items |
373 if ( iInfoArray->Count() ) |
373 if ( iInfoArray->Count() ) |
374 { |
374 { |
375 TWsfWlanInfo* firstItem = iInfoArray->At( 0 ); |
375 TWsfWlanInfo* firstItem = iInfoArray->At( 0 ); |
376 if ( firstItem && firstItem->Connected() ) |
376 if ( firstItem && ( firstItem->Connected() || |
|
377 firstItem->iConnectionState == EConnecting ) ) |
377 { |
378 { |
|
379 LOG_WRITEF( "info state = %d", firstItem->iConnectionState ); |
378 firstItem->iConnectionState = ENotConnected; |
380 firstItem->iConnectionState = ENotConnected; |
379 TRAPD( error, iModel->CheckIsIapIdValidL( firstItem->iIapId ) ); |
381 TRAPD( error, iModel->CheckIsIapIdValidL( firstItem->iIapId ) ); |
380 if ( error ) |
382 if ( error ) |
381 { |
383 { |
382 LOG_WRITEF( "Iap Id is not valid - error=%d", error ); |
384 LOG_WRITEF( "Iap Id is not valid - error=%d", error ); |