Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef RT_JOIN_ACTION to enum rt_join_action
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 8304cc6 commit f6ce577
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/rtl8192e/rtllib.h
Original file line number Diff line number Diff line change
Expand Up @@ -1812,12 +1812,12 @@ enum ips_callback_function {
IPS_CALLBACK_JOIN_REQUEST = 2,
};

typedef enum _RT_JOIN_ACTION{
enum rt_join_action {
RT_JOIN_INFRA = 1,
RT_JOIN_IBSS = 2,
RT_START_IBSS = 3,
RT_NO_ACTION = 4,
} RT_JOIN_ACTION;
};

struct ibss_parms {
u16 atimWin;
Expand Down Expand Up @@ -1866,7 +1866,7 @@ struct rt_pwr_save_ctrl {
enum ips_callback_function ReturnPoint;

bool bTmpBssDesc;
RT_JOIN_ACTION tmpJoinAction;
enum rt_join_action tmpJoinAction;
struct rtllib_network tmpBssDesc;

bool bTmpScanOnly;
Expand Down

0 comments on commit f6ce577

Please sign in to comment.