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

From: Roel Kluin
Date: Thu Jan 14 2010 - 15:21:33 EST


CurrentMPDUDensity was designed to itself.

Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/