Commit 2fac6fc4 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef Stats to struct rt_stats

Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 49f4e74a
...@@ -1354,7 +1354,7 @@ short rtl8192_init(struct net_device *dev) ...@@ -1354,7 +1354,7 @@ short rtl8192_init(struct net_device *dev)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
memset(&(priv->stats),0,sizeof(struct Stats)); memset(&(priv->stats),0,sizeof(struct rt_stats));
rtl8192_dbgp_flag_init(dev); rtl8192_dbgp_flag_init(dev);
......
...@@ -376,8 +376,7 @@ struct rt_smooth_data_4rf { ...@@ -376,8 +376,7 @@ struct rt_smooth_data_4rf {
u32 TotalVal[4]; u32 TotalVal[4];
};//, *struct rt_smooth_data_4rf *; };//, *struct rt_smooth_data_4rf *;
typedef struct Stats struct rt_stats {
{
unsigned long txrdu; unsigned long txrdu;
unsigned long rxrdu; unsigned long rxrdu;
unsigned long rxok; unsigned long rxok;
...@@ -470,7 +469,7 @@ typedef struct Stats ...@@ -470,7 +469,7 @@ typedef struct Stats
u32 Slide_Beacon_Total; u32 Slide_Beacon_Total;
struct rt_smooth_data_4rf cck_adc_pwdb; struct rt_smooth_data_4rf cck_adc_pwdb;
u32 CurrentShowTxate; u32 CurrentShowTxate;
} Stats; };
struct channel_access_setting { struct channel_access_setting {
u16 SIFS_Timer; u16 SIFS_Timer;
...@@ -632,7 +631,7 @@ typedef struct r8192_priv ...@@ -632,7 +631,7 @@ typedef struct r8192_priv
struct semaphore rf_sem; struct semaphore rf_sem;
struct mutex mutex; struct mutex mutex;
struct Stats stats; struct rt_stats stats;
struct iw_statistics wstats; struct iw_statistics wstats;
struct proc_dir_entry *dir_dev; struct proc_dir_entry *dir_dev;
......
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