wlanutilities/wlansniffer/mainapplication/src/wsfmaincontroller.cpp
changeset 2 6e4b6261703d
parent 0 56b72877c1cb
child 3 ff3b37722600
equal deleted inserted replaced
1:d07e190ed096 2:6e4b6261703d
   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         }