summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e
diff options
context:
space:
mode:
authorMike McCormack <mikem@ring3k.org>2011-03-09 00:39:53 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-09 15:46:27 -0800
commit95a9a6538cbd23532aa711981748b21923db407f (patch)
tree8b30e7d6f57a2e2f9446f1454e547ab8d779d093 /drivers/staging/rtl8192e
parent043dfdd3c10ff39c4e21a605d191bb75f10a508e (diff)
staging: rtl8192e: Pass priv to UpdateRxPktTimeStamp8190
Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r--drivers/staging/rtl8192e/r8192E_core.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c
index 04e6bdc9473..9d9ddcc67a4 100644
--- a/drivers/staging/rtl8192e/r8192E_core.c
+++ b/drivers/staging/rtl8192e/r8192E_core.c
@@ -3703,9 +3703,8 @@ static u8 HwRateToMRate90(bool bIsHT, u8 rate)
}
/* Record the TSF time stamp when receiving a packet */
-static void UpdateRxPktTimeStamp8190 (struct net_device *dev, struct ieee80211_rx_stats *stats)
+static void UpdateRxPktTimeStamp8190(struct r8192_priv *priv, struct ieee80211_rx_stats *stats)
{
- struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
if(stats->bIsAMPDU && !stats->bFirstMPDU) {
stats->mac_time[0] = priv->LastRxDescTSFLow;
@@ -4487,7 +4486,7 @@ static void rtl8192_rx(struct net_device *dev)
stats.TimeStampLow = pDrvInfo->TSFL;
stats.TimeStampHigh = read_nic_dword(priv, TSFR+4);
- UpdateRxPktTimeStamp8190(dev, &stats);
+ UpdateRxPktTimeStamp8190(priv, &stats);
//
// Get Total offset of MPDU Frame Body