connectionmonitoring/connmon/connectionmonitor/src/connmoncommsdatcache.cpp
branchRCL_3
changeset 58 83ca720e2b9a
parent 57 05bc53fe583b
child 62 bb1f80fb7db2
equal deleted inserted replaced
57:05bc53fe583b 58:83ca720e2b9a
   522     {
   522     {
   523     LOGENTRFN("CConnMonCommsDatCache::GetAvailableIaps()")
   523     LOGENTRFN("CConnMonCommsDatCache::GetAvailableIaps()")
   524     TInt err( KErrNone );
   524     TInt err( KErrNone );
   525 
   525 
   526     TBool availabilityEventsEnabled( EFalse );
   526     TBool availabilityEventsEnabled( EFalse );
   527     if ( ( aBearerId == EBearerIdAll ) || 
   527     if ( ( aBearerId == EBearerIdAll ) || ( aBearerId == EBearerIdVirtualVPN ) )
   528          ( aBearerId == EBearerIdVirtualVPN ) ||
       
   529          ( aBearerId == EBearerIdWLAN ) )
       
   530         {
   528         {
   531         // If WLAN background scanning is on, and client is asking IAP
   529         // If WLAN background scanning is on, and client is asking IAP
   532         // availability for all- or virtual IAPs, send IAP availability changed
   530         // availability for all- or virtual IAPs, send IAP availability changed
   533         // events if any changes detected.
   531         // events if any changes detected.
   534         TRAPD( traperr, availabilityEventsEnabled = IsWlanBackgroundScanningEnabledL() );
   532         TRAPD( traperr, availabilityEventsEnabled = IsWlanBackgroundScanningEnabledL() );