--- a/wlan_bearer/wlanldd/wlan_common/umac_common/src/UmacDot11Idle.cpp Mon Jun 21 10:46:23 2010 +0300
+++ b/wlan_bearer/wlanldd/wlan_common/umac_common/src/UmacDot11Idle.cpp Fri Jul 02 13:43:20 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;