Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode
Browse files Browse the repository at this point in the history
Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent 3c093c2 commit f6e3d4f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/staging/rtl8192e/rtllib.h
Original file line number Diff line number Diff line change
Expand Up @@ -1799,13 +1799,12 @@ enum fsync_state {
SW_Fsync
};

typedef enum _RT_PS_MODE
{
enum rt_ps_mode {
eActive,
eMaxPs,
eFastPs,
eAutoPs,
} RT_PS_MODE;
};

typedef enum _IPS_CALLBACK_FUNCION
{
Expand Down Expand Up @@ -2122,7 +2121,7 @@ struct rtllib_device {
bool ieee_up;
bool cannot_notify;
bool bSupportRemoteWakeUp;
RT_PS_MODE dot11PowerSaveMode;
enum rt_ps_mode dot11PowerSaveMode;
bool actscanning;
bool FirstIe_InScan;
bool be_scan_inprogress;
Expand Down

0 comments on commit f6e3d4f

Please sign in to comment.