Commit d2eff5c3 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef HT_SPEC_VER to enum ht_spec_ver

Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 11b639c3
...@@ -201,10 +201,10 @@ struct mimops_ctrl { ...@@ -201,10 +201,10 @@ struct mimops_ctrl {
u8 Reserved:6; u8 Reserved:6;
}; };
typedef enum _HT_SPEC_VER{ enum ht_spec_ver {
HT_SPEC_VER_IEEE = 0, HT_SPEC_VER_IEEE = 0,
HT_SPEC_VER_EWC = 1, HT_SPEC_VER_EWC = 1,
} HT_SPEC_VER, *PHT_SPEC_VER; };
typedef enum _HT_AGGRE_MODE_E{ typedef enum _HT_AGGRE_MODE_E{
HT_AGG_AUTO = 0, HT_AGG_AUTO = 0,
...@@ -229,7 +229,7 @@ struct rt_hi_throughput { ...@@ -229,7 +229,7 @@ struct rt_hi_throughput {
u8 bRegSuppCCK; u8 bRegSuppCCK;
u8 bCurSuppCCK; u8 bCurSuppCCK;
HT_SPEC_VER ePeerHTSpecVer; enum ht_spec_ver ePeerHTSpecVer;
struct ht_capab_ele SelfHTCap; struct ht_capab_ele SelfHTCap;
...@@ -343,7 +343,7 @@ struct bss_ht { ...@@ -343,7 +343,7 @@ struct bss_ht {
u8 bdHTInfoBuf[32]; u8 bdHTInfoBuf[32];
u16 bdHTInfoLen; u16 bdHTInfoLen;
HT_SPEC_VER bdHTSpecVer; enum ht_spec_ver bdHTSpecVer;
enum ht_channel_width bdBandWidth; enum ht_channel_width bdBandWidth;
u8 bdRT2RTAggregation; u8 bdRT2RTAggregation;
......
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