wlanutilities/wlansniffer/mainapplication/src/wsfmaincontroller.cpp
branchRCL_3
changeset 12 981afc7d3841
parent 11 8b0eae1b1d71
child 13 858c6c491d0e
equal deleted inserted replaced
11:8b0eae1b1d71 12:981afc7d3841
   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 );