Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef HT_SPEC_VER to enum ht_spec_ver
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 11b639c commit d2eff5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/rtl8192e/rtl819x_HT.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ struct mimops_ctrl {
u8 Reserved:6;
};

typedef enum _HT_SPEC_VER{
enum ht_spec_ver {
HT_SPEC_VER_IEEE = 0,
HT_SPEC_VER_EWC = 1,
} HT_SPEC_VER, *PHT_SPEC_VER;
};

typedef enum _HT_AGGRE_MODE_E{
HT_AGG_AUTO = 0,
Expand All @@ -229,7 +229,7 @@ struct rt_hi_throughput {
u8 bRegSuppCCK;
u8 bCurSuppCCK;

HT_SPEC_VER ePeerHTSpecVer;
enum ht_spec_ver ePeerHTSpecVer;


struct ht_capab_ele SelfHTCap;
Expand Down Expand Up @@ -343,7 +343,7 @@ struct bss_ht {
u8 bdHTInfoBuf[32];
u16 bdHTInfoLen;

HT_SPEC_VER bdHTSpecVer;
enum ht_spec_ver bdHTSpecVer;
enum ht_channel_width bdBandWidth;

u8 bdRT2RTAggregation;
Expand Down

0 comments on commit d2eff5c

Please sign in to comment.