diff -r 83ca720e2b9a -r bb1f80fb7db2 bearermanagement/S60MCPR/src/s60mcpr.cpp --- a/bearermanagement/S60MCPR/src/s60mcpr.cpp Wed Sep 01 12:23:51 2010 +0100 +++ b/bearermanagement/S60MCPR/src/s60mcpr.cpp Tue Sep 14 22:06:05 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: