diff -r af3fb27c7511 -r 13838cf40350 wlan_bearer/wlanldd/wlan_common/umac_common/src/UmacDot11Idle.cpp --- a/wlan_bearer/wlanldd/wlan_common/umac_common/src/UmacDot11Idle.cpp Tue May 25 14:40:09 2010 +0300 +++ b/wlan_bearer/wlanldd/wlan_common/umac_common/src/UmacDot11Idle.cpp Mon Jun 21 17:43:00 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;