equal
deleted
inserted
replaced
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() ); |