diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-20 01:56:03 (GMT) |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 15:53:01 (GMT) |
commit | f6e3d4f4c2fd00a58561db35d6fc6e060ebbebff (patch) | |
tree | 2528a8a676726149288b05894c55f7c9371fbca9 /drivers/staging/rtl8192e/rtllib.h | |
parent | 3c093c2ba168ec4a4bfd638c4c35cf748ea329a9 (diff) | |
download | linux-f6e3d4f4c2fd00a58561db35d6fc6e060ebbebff.tar.xz |
staging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib.h')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index d532937..23c3625 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -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 { @@ -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; |