diff -r 1c425781161e -r 3d23268b50f6 wlan_bearer/wlanldd/wlan_common/umac_common/src/UmacDot11Idle.cpp --- a/wlan_bearer/wlanldd/wlan_common/umac_common/src/UmacDot11Idle.cpp Tue Jul 06 16:24:00 2010 +0300 +++ b/wlan_bearer/wlanldd/wlan_common/umac_common/src/UmacDot11Idle.cpp Wed Aug 18 11:35:02 2010 +0300 @@ -16,7 +16,7 @@ */ /* -* %version: 42 % +* %version: 43 % */ #include "config.h" @@ -315,13 +315,14 @@ aCtxImpl.IeData( aIeData ); aCtxImpl.IeDataLength( aIeDataLength ); + TInt status(KErrNone); // check do we meet the requirements for the network // and construct necessary objects for establishing the connection - if ( InitNetworkConnect( + if ( ( status = InitNetworkConnect( aCtxImpl, aScanResponseFrameBodyLength, - aScanResponseFrameBody ) ) + aScanResponseFrameBody ) ) == KErrNone ) { // continue @@ -350,7 +351,7 @@ { // abort ret = EFalse; - OnOidComplete( aCtxImpl, KErrGeneral ); + OnOidComplete( aCtxImpl, status ); } return ret;