Commit 8304cc64 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef IPS_CALLBACK_FUNCION to enum ips_callback_function

Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent f6e3d4f4
...@@ -1806,12 +1806,11 @@ enum rt_ps_mode { ...@@ -1806,12 +1806,11 @@ enum rt_ps_mode {
eAutoPs, eAutoPs,
}; };
typedef enum _IPS_CALLBACK_FUNCION enum ips_callback_function {
{
IPS_CALLBACK_NONE = 0, IPS_CALLBACK_NONE = 0,
IPS_CALLBACK_MGNT_LINK_REQUEST = 1, IPS_CALLBACK_MGNT_LINK_REQUEST = 1,
IPS_CALLBACK_JOIN_REQUEST = 2, IPS_CALLBACK_JOIN_REQUEST = 2,
} IPS_CALLBACK_FUNCION; };
typedef enum _RT_JOIN_ACTION{ typedef enum _RT_JOIN_ACTION{
RT_JOIN_INFRA = 1, RT_JOIN_INFRA = 1,
...@@ -1864,7 +1863,7 @@ struct rt_pwr_save_ctrl { ...@@ -1864,7 +1863,7 @@ struct rt_pwr_save_ctrl {
struct work_struct InactivePsWorkItem; struct work_struct InactivePsWorkItem;
struct timer_list InactivePsTimer; struct timer_list InactivePsTimer;
IPS_CALLBACK_FUNCION ReturnPoint; enum ips_callback_function ReturnPoint;
bool bTmpBssDesc; bool bTmpBssDesc;
RT_JOIN_ACTION tmpJoinAction; RT_JOIN_ACTION tmpJoinAction;
......
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