equal
deleted
inserted
replaced
373 { |
373 { |
374 TWsfWlanInfo* firstItem = iInfoArray->At( 0 ); |
374 TWsfWlanInfo* firstItem = iInfoArray->At( 0 ); |
375 if ( firstItem && firstItem->Connected() ) |
375 if ( firstItem && firstItem->Connected() ) |
376 { |
376 { |
377 firstItem->iConnectionState = ENotConnected; |
377 firstItem->iConnectionState = ENotConnected; |
|
378 TRAPD( error, iModel->CheckIsIapIdValidL( firstItem->iIapId ) ); |
|
379 if ( error ) |
|
380 { |
|
381 LOG_WRITEF( "Iap Id is not valid - error=%d", error ); |
|
382 if ( firstItem->iRawSsid.Length() ) |
|
383 { |
|
384 firstItem->iSsid.Copy( firstItem->iRawSsid ); |
|
385 } |
|
386 firstItem->iIapId = 0; |
|
387 } |
378 iInfoArray->SortArrayL(); |
388 iInfoArray->SortArrayL(); |
379 UpdateViewL( iInfoArray ); |
389 UpdateViewL( iInfoArray ); |
380 } |
390 } |
381 } |
391 } |
382 } |
392 } |