[PATCH] rtl8192u/ieee80211: CurrentMPDUDensity assigned to itself in HTUseDefaultSetting()

Roel Kluin roel.kluin at gmail.com
Thu Jan 14 20:25:56 UTC 2010


CurrentMPDUDensity was designed to itself.

Signed-off-by: Roel Kluin <roel.kluin at gmail.com>
---
Not 100% sure but this appears more logical, right?

diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c
index 2c4eb38..642635f 100644
--- a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c
@@ -1342,7 +1342,7 @@ void HTUseDefaultSetting(struct ieee80211_device* ieee)
 
 		pHTInfo->CurrentAMPDUFactor = pHTInfo->AMPDU_Factor;
 
-		pHTInfo->CurrentMPDUDensity = pHTInfo->CurrentMPDUDensity;
+		pHTInfo->CurrentMPDUDensity = pHTInfo->MPDU_Density;
 
 		// Set BWOpMode register
 



More information about the devel mailing list