equal
deleted
inserted
replaced
2122 req->iRetGetNWRegistrationStatus = aStatus; |
2122 req->iRetGetNWRegistrationStatus = aStatus; |
2123 iRegisterationStatusRequests.AppendL( req ); |
2123 iRegisterationStatusRequests.AppendL( req ); |
2124 } |
2124 } |
2125 else |
2125 else |
2126 { |
2126 { |
2127 //get mode specific information |
2127 TInt ret(KErrGeneral); |
2128 TInt ret ( iMmPhoneTsy->iMmPhoneExtInterface-> |
2128 // verify that modem is ready |
2129 GetNetworkRegistrationStatusL() ); |
2129 if ( iMmPhoneTsy->IsModemStatusReady() ) |
|
2130 { |
|
2131 //get mode specific information |
|
2132 TFLOGSTRING("TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Sending request to LTSY" ); |
|
2133 ret = iMmPhoneTsy->iMmPhoneExtInterface-> |
|
2134 GetNetworkRegistrationStatusL(); |
|
2135 } |
|
2136 else |
|
2137 { |
|
2138 // modem is not ready. Client to be completed with error code. |
|
2139 TFLOGSTRING("TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Modem not ready" ); |
|
2140 ret = KErrNotReady; |
|
2141 } |
2130 |
2142 |
2131 if ( KErrNone != ret ) |
2143 if ( KErrNone != ret ) |
2132 { |
2144 { |
|
2145 TFLOGSTRING2("TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Complete with error %d", ret ); |
2133 iMmPhoneTsy->ReqCompleted( aTsyReqHandle, ret ); |
2146 iMmPhoneTsy->ReqCompleted( aTsyReqHandle, ret ); |
2134 } |
2147 } |
2135 else |
2148 else |
2136 { |
2149 { |
2137 TFLOGSTRING("TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Client to buffer" ); |
2150 TFLOGSTRING("TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Client to buffer" ); |