Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
{
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);
u32 TotalVal[4];
};//, *struct rt_smooth_data_4rf *;
-typedef struct Stats
-{
+struct rt_stats {
unsigned long txrdu;
unsigned long rxrdu;
unsigned long rxok;
u32 Slide_Beacon_Total;
struct rt_smooth_data_4rf cck_adc_pwdb;
u32 CurrentShowTxate;
-} Stats;
+};
struct channel_access_setting {
u16 SIFS_Timer;
struct semaphore rf_sem;
struct mutex mutex;
- struct Stats stats;
+ struct rt_stats stats;
struct iw_statistics wstats;
struct proc_dir_entry *dir_dev;