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 ) || ( aBearerId == EBearerIdVirtualVPN ) ) |
527 if ( ( aBearerId == EBearerIdAll ) || |
|
528 ( aBearerId == EBearerIdVirtualVPN ) || |
|
529 ( aBearerId == EBearerIdWLAN ) ) |
528 { |
530 { |
529 // If WLAN background scanning is on, and client is asking IAP |
531 // If WLAN background scanning is on, and client is asking IAP |
530 // availability for all- or virtual IAPs, send IAP availability changed |
532 // availability for all- or virtual IAPs, send IAP availability changed |
531 // events if any changes detected. |
533 // events if any changes detected. |
532 TRAPD( traperr, availabilityEventsEnabled = IsWlanBackgroundScanningEnabledL() ); |
534 TRAPD( traperr, availabilityEventsEnabled = IsWlanBackgroundScanningEnabledL() ); |