omaprovisioning/provisioning/accesspointadapter/Src/CWPAPNapdef.cpp
changeset 2 5594fba90824
parent 1 a9c0ce913924
child 35 0deca9b72b62
equal deleted inserted replaced
1:a9c0ce913924 2:5594fba90824
   838         }// else if
   838         }// else if
   839         
   839         
   840     else if( ( aParameter.Name().Compare( SSSID ) ) == 0 )
   840     else if( ( aParameter.Name().Compare( SSSID ) ) == 0 )
   841         {
   841         {
   842         FLOG( _L( "[AccesspointAdapter] CWPAPNapdef::HandleWLanParametersL iPriHSSID" ) );
   842         FLOG( _L( "[AccesspointAdapter] CWPAPNapdef::HandleWLanParametersL iPriHSSID" ) );
   843 			  scssid->iSSSID = &aParameter;
   843         if(scssid!=NULL)
       
   844         	{
       
   845         	scssid->iSSSID = &aParameter;
       
   846         	}
       
   847 			  
   844 
   848 
   845         }// else if
   849         }// else if
   846 
   850 
   847     else if( ( aParameter.Name().Compare( SUSSID ) ) == 0 )
   851     else if( ( aParameter.Name().Compare( SUSSID ) ) == 0 )
   848         {
   852         {
   849         FLOG( _L( "[AccesspointAdapter] CWPAPNapdef::HandleWLanParametersL iPriHSSID" ) );
   853         FLOG( _L( "[AccesspointAdapter] CWPAPNapdef::HandleWLanParametersL iPriHSSID" ) );
   850 			  scssid->iSUSSID = &aParameter;
   854 			  if(scssid!=NULL)
       
   855         	{
       
   856         	scssid->iSUSSID = &aParameter;
       
   857         	}
   851         }// else if
   858         }// else if
   852                         
   859                         
   853     else if( ( aParameter.Name().Compare( NETMODE ) ) == 0 )
   860     else if( ( aParameter.Name().Compare( NETMODE ) ) == 0 )
   854         {
   861         {
   855         FLOG( _L( "[AccesspointAdapter] CWPAPNapdef::HandleWLanParametersL netmode" ) );
   862         FLOG( _L( "[AccesspointAdapter] CWPAPNapdef::HandleWLanParametersL netmode" ) );
  1008    	CEapTypeElement* eap = NULL;
  1015    	CEapTypeElement* eap = NULL;
  1009    	if ( iEapTypeArray.Count() )
  1016    	if ( iEapTypeArray.Count() )
  1010    	    {
  1017    	    {
  1011    	    eap = iEapTypeArray[iEapTypeArray.Count()-1];
  1018    	    eap = iEapTypeArray[iEapTypeArray.Count()-1];
  1012    	    }
  1019    	    }
       
  1020    	if(!eap)
       
  1021    	    {
       
  1022    	    return;
       
  1023    	    }    
  1013    	
  1024    	
  1014 	TPtrC value( aParameter.Value() );
  1025 	TPtrC value( aParameter.Value() );
  1015 	
  1026 	
  1016     if( ( aParameter.Name().Compare( EAPTYPE ) ) == 0 )
  1027     if( ( aParameter.Name().Compare( EAPTYPE ) ) == 0 )
  1017         {
  1028         {