equal
deleted
inserted
replaced
80 /** |
80 /** |
81 OpenSession request handler. Adds the session to the connection. |
81 OpenSession request handler. Adds the session to the connection. |
82 */ |
82 */ |
83 void CMTPOpenSession::ServiceL() |
83 void CMTPOpenSession::ServiceL() |
84 { |
84 { |
85 iSingletons.DpController().WaitForEnumerationComplete(); |
85 if(iSingletons.DpController().EnumerateState() < CMTPDataProviderController::EEnumeratingPhaseOneDone) |
|
86 { |
|
87 RegisterPendingRequest(); |
|
88 return; |
|
89 } |
|
90 |
86 if(iSingletons.DpController().EnumerateState() < CMTPDataProviderController::EEnumeratingPhaseOneDone) |
91 if(iSingletons.DpController().EnumerateState() < CMTPDataProviderController::EEnumeratingPhaseOneDone) |
87 { |
92 { |
88 SendResponseL(EMTPRespCodeDeviceBusy); |
93 SendResponseL(EMTPRespCodeDeviceBusy); |
89 } |
94 } |
90 else |
95 else |