wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanmgmtframehandler.cpp
--- a/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanmgmtframehandler.cpp Thu Aug 19 11:40:48 2010 +0300
+++ b/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanmgmtframehandler.cpp Tue Aug 31 17:02:06 2010 +0300
@@ -15,6 +15,9 @@
*
*/
+/*
+* %version: 11 %
+*/
// INCLUDE FILES
#include <e32std.h>
@@ -149,7 +152,8 @@
{
DEBUG( "CWlanMgmtFrameHandler::RunL() iDataBlock is not NULL" );
TDataBuffer* buffer = NULL;
- while( iDataBlock->GetNextRxDataBuffer( buffer ) )
+ TDataBuffer* frameToFree = NULL;
+ while( ( buffer = iServiceProvider.GetRxFrame( frameToFree ) ) != NULL )
{
DEBUG1( "EAPOL packet received, length=%d",
buffer->GetLength() );
@@ -159,6 +163,8 @@
buffer->GetLength(),
buffer->GetBuffer(),
buffer->Rcpi() );
+
+ frameToFree = buffer;
}
}
// Wait for next packets.