diff -r 7e15987c4500 -r 8ecef05bbada usbengines/usbotgwatcher/src/cusbstatehostainitiate.cpp --- 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:32 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; } }