equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
785 |
785 |
786 // No duplicate connections. Also do not add bearer specific connection Id. |
786 // No duplicate connections. Also do not add bearer specific connection Id. |
787 if ( conns && (conns->Find(aConnId) == KErrNotFound) && |
787 if ( conns && (conns->Find(aConnId) == KErrNotFound) && |
788 ((aConnId != EBearerIdGPRS) && (aConnId != EBearerIdWCDMA)) ) |
788 ((aConnId != EBearerIdGPRS) && (aConnId != EBearerIdWCDMA)) ) |
789 { |
789 { |
790 conns->Append( aConnId ); |
790 TInt err = conns->Append( aConnId ); |
791 LOG( Log::Printf( _L("DCL: Contexts: GPRS %d, WCDMA %d"), |
791 LOG( Log::Printf( _L("DCL: Contexts: GPRS %d, WCDMA %d, error: %d"), |
792 iGPRSConnections.Count(), iWCDMAConnections.Count() )); |
792 iGPRSConnections.Count(), iWCDMAConnections.Count(), err )); |
793 } |
793 } |
794 } |
794 } |
795 |
795 |
796 // ------------------------------------------------------------------------- |
796 // ------------------------------------------------------------------------- |
797 // CSaeObserver::RemoveFromConnArray |
797 // CSaeObserver::RemoveFromConnArray |