equal
deleted
inserted
replaced
1614 |
1614 |
1615 // Active connections locating in different snaps |
1615 // Active connections locating in different snaps |
1616 // Use priority order vpn, wlan and packet |
1616 // Use priority order vpn, wlan and packet |
1617 for ( TInt index = 0; index < iActiveBMConns.Count(); index++ ) |
1617 for ( TInt index = 0; index < iActiveBMConns.Count(); index++ ) |
1618 { |
1618 { |
|
1619 CMPMServerSession* serverSession = GetServerSession( |
|
1620 iActiveBMConns[index].iConnInfo.iConnId ); |
|
1621 |
1619 // Do check only for active connections |
1622 // Do check only for active connections |
1620 if ( iActiveBMConns[index].iConnInfo.iState == EStarted ) |
1623 if ( iActiveBMConns[index].iConnInfo.iState == EStarted && |
|
1624 serverSession->ChooseBestIapCalled() ) |
1621 { |
1625 { |
1622 TMPMBearerType bearerType = EMPMBearerTypeOther; |
1626 TMPMBearerType bearerType = EMPMBearerTypeOther; |
1623 |
1627 |
1624 if ( iDedicatedClients.Find( iActiveBMConns[index].iConnInfo.iAppUid ) == |
1628 if ( iDedicatedClients.Find( iActiveBMConns[index].iConnInfo.iAppUid ) == |
1625 KErrNone ) |
1629 KErrNone ) |
1724 |
1728 |
1725 TInt count( 0 ); |
1729 TInt count( 0 ); |
1726 |
1730 |
1727 for ( TInt index = 0; index < iActiveBMConns.Count(); index++ ) |
1731 for ( TInt index = 0; index < iActiveBMConns.Count(); index++ ) |
1728 { |
1732 { |
1729 if ( iActiveBMConns[index].iConnInfo.iState == EStarted ) |
1733 CMPMServerSession* serverSession = GetServerSession( |
|
1734 iActiveBMConns[index].iConnInfo.iConnId ); |
|
1735 |
|
1736 if ( iActiveBMConns[index].iConnInfo.iState == EStarted && |
|
1737 serverSession->ChooseBestIapCalled() ) |
1730 { |
1738 { |
1731 count++; |
1739 count++; |
1732 } |
1740 } |
1733 } |
1741 } |
1734 |
1742 |