Commit 77055c56 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename rtl8192_UpdateReceivedRateHistogramStatistics

Use naming schema found in other rtlwifi devices.
Rename rtl8192_UpdateReceivedRateHistogramStatistics to
_rtl92e_update_received_rate_histogram_stats.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9d70ed83
...@@ -1906,7 +1906,7 @@ static void _rtl92e_translate_rx_signal_stats(struct net_device *dev, ...@@ -1906,7 +1906,7 @@ static void _rtl92e_translate_rx_signal_stats(struct net_device *dev,
rtl92e_copy_mpdu_stats(pstats, &previous_stats); rtl92e_copy_mpdu_stats(pstats, &previous_stats);
} }
static void rtl8192_UpdateReceivedRateHistogramStatistics( static void _rtl92e_update_received_rate_histogram_stats(
struct net_device *dev, struct net_device *dev,
struct rtllib_rx_stats *pstats) struct rtllib_rx_stats *pstats)
{ {
...@@ -2057,7 +2057,7 @@ bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats, ...@@ -2057,7 +2057,7 @@ bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats,
(u8)pDrvInfo->RxRate); (u8)pDrvInfo->RxRate);
stats->bShortPreamble = pDrvInfo->SPLCP; stats->bShortPreamble = pDrvInfo->SPLCP;
rtl8192_UpdateReceivedRateHistogramStatistics(dev, stats); _rtl92e_update_received_rate_histogram_stats(dev, stats);
stats->bIsAMPDU = (pDrvInfo->PartAggr == 1); stats->bIsAMPDU = (pDrvInfo->PartAggr == 1);
stats->bFirstMPDU = (pDrvInfo->PartAggr == 1) && stats->bFirstMPDU = (pDrvInfo->PartAggr == 1) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment