diff -r ea6e024ea6f9 -r 68f0c7cd80ec bearermanagement/S60MCPR/src/s60mcpr.cpp --- a/bearermanagement/S60MCPR/src/s60mcpr.cpp Fri Mar 12 15:44:18 2010 +0200 +++ b/bearermanagement/S60MCPR/src/s60mcpr.cpp Mon Mar 15 12:42:11 2010 +0200 @@ -300,31 +300,21 @@ //HandlePreferredIAPAvailable( const_cast( notification ) ); - // Check if the TPrefIAPNotifInfo contains new or old IAP. - // - if ( ServiceProvider() && - ((RMetaServiceProviderInterface*)ServiceProvider())->ProviderInfo().APId() != notification.iNewIapId ) - { - S60MCPRLOGSTRING2("S60MCPR<%x>::PolicyNotification() EMPMPreferredIAPAvailable IAP %d",(TInt*)this,notification.iNewIapId); + S60MCPRLOGSTRING2("S60MCPR<%x>::PolicyNotification() EMPMPreferredIAPAvailable IAP %d",(TInt*)this,notification.iNewIapId); + - // Store PolicyNotification - // This could happen if PolicyServer sends notification too early. - // - StorePolicyNotification( aNotification ); - - // Send preferred carrier message into meshmachine. - // - RNodeInterface ni; - ni.OpenPostMessageClose( NodeId(), - NodeId(), - TCFS60MCPRMessage::TMPMPreferredCarrierAvailableMsg( (TAny*)¬ification ).CRef() ); - } -#ifdef _DEBUG - else - { - S60MCPRLOGSTRING2("S60MCPR<%x>::PolicyNotification() EMPMPreferredIAPAvailable SAME IAP %d",(TInt*)this,notification.iNewIapId ); - } -#endif + // Store PolicyNotification + // This could happen if PolicyServer sends notification too early. + // + StorePolicyNotification( aNotification ); + + // Send preferred carrier message into meshmachine. + // + RNodeInterface ni; + ni.OpenPostMessageClose( NodeId(), + NodeId(), + TCFS60MCPRMessage::TMPMPreferredCarrierAvailableMsg( (TAny*)¬ification ).CRef() ); + break; } case EMPMMobilityErrorNotification: