bearermanagement/mpm/src/mpmconnmonevents.cpp
branchRCL_3
changeset 58 83ca720e2b9a
parent 57 05bc53fe583b
child 62 bb1f80fb7db2
--- a/bearermanagement/mpm/src/mpmconnmonevents.cpp	Tue Aug 31 15:35:44 2010 +0300
+++ b/bearermanagement/mpm/src/mpmconnmonevents.cpp	Wed Sep 01 12:23:51 2010 +0100
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -51,8 +51,7 @@
 // 
 CMPMConnMonEvents::CMPMConnMonEvents( CMPMServer& aServer )
     : iMyServer( aServer ),
-      iDiscardAvailabilityNotification( EFalse ),
-      iAvailabilityNotificationDiscarded( EFalse )
+      iDiscardAvailabilityNotification( EFalse )
     {
     }
 
@@ -467,7 +466,6 @@
     if ( ( iAvailableIAPs.Count() > 0 ) && 
          !DiscardAvailabilityNotification() )
         {
-        iAvailabilityNotificationDiscarded = EFalse;
         // Remove temporary blacklistings as fresh availability 
         // info is available.
         // 
@@ -481,7 +479,6 @@
         }
     else
         {
-        iAvailabilityNotificationDiscarded = ETrue;
         MPMLOGSTRING2( "CMPMConnMonEvents::EventL - IAPs count: %d", 
             iAvailableIAPs.Count() )
         MPMLOGSTRING2( 
@@ -538,6 +535,13 @@
             iAvailableIAPs = eventIap->IapAvailability();
             UpdateIAPRefreshTime();
             IapAvailabilityChange( EConnMonEvent );
+            
+            TRAPD( err, iMyServer.UpdateSessionConnectionDlgL() )
+            if( err != KErrNone )
+                {
+                MPMLOGSTRING2( "CMPMConnMonEvents::EventL UpdateSessionConnectionDlgL \
+error code %d", err )
+                }
             break;
             }
         default: