diff -r 866b4af7ffbe -r 841f70763fbe localconnectivityservice/dun/atext/src/DunAtCmdPusher.cpp --- a/localconnectivityservice/dun/atext/src/DunAtCmdPusher.cpp Tue Sep 28 20:14:08 2010 +0800 +++ b/localconnectivityservice/dun/atext/src/DunAtCmdPusher.cpp Thu Nov 04 15:31:42 2010 +0800 @@ -118,7 +118,6 @@ FTRACE(FPrint( _L("CDunAtCmdPusher::IssueRequest() (in queue!) complete") )); return KErrGeneral; } - iStatus = KRequestPending; iAtPushState = EDunStateAtCmdPushing; iAtCmdExt->HandleCommand( iStatus, aInput, @@ -134,22 +133,13 @@ // Stops AT command handling // --------------------------------------------------------------------------- // -TInt CDunAtCmdPusher::Stop() +void CDunAtCmdPusher::Stop() { FTRACE(FPrint( _L("CDunAtCmdPusher::Stop()") )); SetEndOfCmdLine(); - if ( iAtPushState != EDunStateAtCmdPushing ) - { - FTRACE(FPrint( _L("CDunAtCmdHandler::Stop() (not ready) complete" ))); - return KErrNotReady; - } - // As the EDunStateAtCmdHandling can be set even when the actual request - // has completed (when replying with NotifyDataPushComplete() and setting - // idle eventually), cancel the actual operation in DoCancel() Cancel(); iAtPushState = EDunStateIdle; FTRACE(FPrint( _L("CDunAtCmdPusher::Stop() complete") )); - return KErrNone; } // ---------------------------------------------------------------------------