Commit f6e3d4f4 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode

Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 3c093c2b
...@@ -1799,13 +1799,12 @@ enum fsync_state { ...@@ -1799,13 +1799,12 @@ enum fsync_state {
SW_Fsync SW_Fsync
}; };
typedef enum _RT_PS_MODE enum rt_ps_mode {
{
eActive, eActive,
eMaxPs, eMaxPs,
eFastPs, eFastPs,
eAutoPs, eAutoPs,
} RT_PS_MODE; };
typedef enum _IPS_CALLBACK_FUNCION typedef enum _IPS_CALLBACK_FUNCION
{ {
...@@ -2122,7 +2121,7 @@ struct rtllib_device { ...@@ -2122,7 +2121,7 @@ struct rtllib_device {
bool ieee_up; bool ieee_up;
bool cannot_notify; bool cannot_notify;
bool bSupportRemoteWakeUp; bool bSupportRemoteWakeUp;
RT_PS_MODE dot11PowerSaveMode; enum rt_ps_mode dot11PowerSaveMode;
bool actscanning; bool actscanning;
bool FirstIe_InScan; bool FirstIe_InScan;
bool be_scan_inprogress; bool be_scan_inprogress;
......
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