diff -r 84c6623982f6 -r ed07dcc72692 bearermanagement/S60MCPR/src/s60mcpr.cpp --- a/bearermanagement/S60MCPR/src/s60mcpr.cpp Fri Sep 17 08:32:43 2010 +0300 +++ b/bearermanagement/S60MCPR/src/s60mcpr.cpp Mon Oct 04 00:43:42 2010 +0300 @@ -381,23 +381,14 @@ TMpmNotificationStopIAP& notification = static_cast( const_cast( aNotification ) ); - // Allow TStop message only when ServiceProvider exists and the IAP matches or is unspecified. - // - if ( ServiceProvider() && - (((RMetaServiceProviderInterface*)ServiceProvider())->ProviderInfo().APId() == notification.iInfo.iIap || - notification.iInfo.iIap == 0 )) - { - S60MCPRLOGSTRING2("S60MCPR<%x>::PolicyNotification() EMPMStopIAPNotification IAP %d",(TInt*)this,notification.iInfo.iIap); - PostToClients( TNodeCtxId( 0, Id() ), - TCFServiceProvider::TStop( KErrDisconnected ).CRef(), - TClientType( TCFClientType::EServProvider) ); - } -#ifdef _DEBUG - else - { - S60MCPRLOGSTRING2("S60MCPR<%x>::PolicyNotification() EMPMStopIAPNotification NO MATCH! IAP %d",(TInt*)this,notification.iInfo.iIap); - } -#endif + S60MCPRLOGSTRING2("S60MCPR<%x>::PolicyNotification() EMPMStopIAPNotification IAP %d",(TInt*)this, notification.iInfo.iIap); + + // Send stop notification into meshmachine. + // + RNodeInterface ni; + ni.OpenPostMessageClose( NodeId(), + NodeId(), + TCFS60MCPRMessage::TMPMStopIAPNotificationMsg( notification.iInfo.iIap ).CRef() ); break; } default: