userlibandfileserver/fileserver/shostmassstorage/server/controller/cusbhostmsdevice.cpp
branchRCL_3
changeset 294 039a3e647356
parent 268 345b1ca54e88
equal deleted inserted replaced
268:345b1ca54e88 294:039a3e647356
   158 
   158 
   159 
   159 
   160 void CUsbHostMsDevice::SuspendLunL(TLun aLun)
   160 void CUsbHostMsDevice::SuspendLunL(TLun aLun)
   161 	{
   161 	{
   162     __MSFNLOG
   162     __MSFNLOG
   163     if (IsSuspended())
   163 	iLuList.GetLuL(aLun).ReadyToSuspend();
   164         {
       
   165         return;
       
   166         }
       
   167 
       
   168     iLuList.GetLuL(aLun).ReadyToSuspend();
       
   169 
   164 
   170     // check whether all the luns are suspended, if so then request usb
   165     // check whether all the luns are suspended, if so then request usb
   171     // interface suspension to the transport layer
   166     // interface suspension to the transport layer
   172 	for (TInt i = 0; i < iLuList.Count(); i++)
   167 	for (TInt i = 0; i < iLuList.Count(); i++)
   173 		{
   168 		{