diff -r 4712310216c0 -r 5323ec7dc425 usbengines/usbotgwatcher/src/cusbstatehostainitiate.cpp --- a/usbengines/usbotgwatcher/src/cusbstatehostainitiate.cpp Fri Apr 23 23:17:21 2010 +0300 +++ b/usbengines/usbotgwatcher/src/cusbstatehostainitiate.cpp Fri Apr 23 23:28:37 2010 +0300 @@ -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; } }