usbengines/usbotgwatcher/src/cusbstatehostainitiate.cpp
branchRCL_3
changeset 13 7068aba64af5
parent 1 705ec7b86991
child 20 a15c582fbf97
--- a/usbengines/usbotgwatcher/src/cusbstatehostainitiate.cpp	Tue Feb 02 00:52:37 2010 +0200
+++ b/usbengines/usbotgwatcher/src/cusbstatehostainitiate.cpp	Fri Feb 19 23:50:33 2010 +0200
@@ -101,7 +101,7 @@
     if (KErrNone != err)
         {
             FLOG( _L( "[USBOTGWATCHER]\tCUsbStateHostAInitiate::JustAdvancedToThisStateL EnableFunctionDriverLoading error" ) );
-        iWatcher->HandleHostProblemL(EUsbWatcherErrorInConnection);
+        iWatcher->HandleHostProblemL(EUsbWatcherErrorInConnection, EUsbStateHostHandle);
         return;
         }
 
@@ -117,6 +117,7 @@
 
         while (count < maxTrial && KErrNone != busReqErr)
             {
+            FLOG( _L( "[USBOTGWATCHER]\tCUsbStateHostAInitiate Calling RUsb::BusRequest()..." ) );
             busReqErr = iWatcher->Usb().BusRequest();
                 FTRACE( FPrint(_L( "[USBOTGWATCHER]\tCUsbStateHostAInitiate::JustAdvancedToThisStateL BusRequest() = %d" ), err));
 
@@ -125,7 +126,7 @@
                 err = iWatcher->Usb().BusClearError();
                 if (KErrNone != err)
                     {
-                    iWatcher->HandleHostProblemL(EUsbWatcherErrorInConnection);
+                    iWatcher->HandleHostProblemL(EUsbWatcherErrorInConnection, EUsbStateHostHandle);
                     return;
                     }
                 }
@@ -133,7 +134,7 @@
             }
         if (KErrNone != busReqErr)
             {
-            iWatcher->HandleHostProblemL(EUsbWatcherErrorInConnection);
+            iWatcher->HandleHostProblemL(EUsbWatcherErrorInConnection, EUsbStateHostHandle);
             return;
             }
         }