diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-20 01:24:49 (GMT) |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 15:52:52 (GMT) |
commit | e93e0f6aabd51652fcfa943ca8e8ec2f4947156e (patch) | |
tree | 3bca2606567a25747da5071e5348ee8e72d0ecbe /drivers/staging/rtl8192e/rtllib.h | |
parent | bb5e482246e0f41c3b39f758c61bdf75f191cbcc (diff) | |
download | linux-e93e0f6aabd51652fcfa943ca8e8ec2f4947156e.tar.xz |
staging: rtl8192e: Convert typedef RT_OP_MODE to enum rt_op_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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index a27c58f..8fc3056 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -403,12 +403,12 @@ enum hw_variables { HW_VAR_RF_TIMING, }; -typedef enum _RT_OP_MODE{ +enum rt_op_mode { RT_OP_MODE_AP, RT_OP_MODE_INFRASTRUCTURE, RT_OP_MODE_IBSS, RT_OP_MODE_NO_LINK, -} RT_OP_MODE, *PRT_OP_MODE; +}; #define aSifsTime (((priv->rtllib->current_network.mode == IEEE_A)||(priv->rtllib->current_network.mode == IEEE_N_24G)||(priv->rtllib->current_network.mode == IEEE_N_5G))? 16 : 10) @@ -2099,7 +2099,7 @@ struct rtllib_device { u8 hwscan_sem_up; u8 CntAfterLink; - RT_OP_MODE OpMode; + enum rt_op_mode OpMode; u8 VersionID; /* The last AssocReq/Resp IEs */ |