Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef CHNLOP to enum chnl_op
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 b678bd1 commit c1c5d07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/rtl8192e/rtl819x_HT.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ enum ht_extchnl_offset {
HT_EXTCHNL_OFFSET_LOWER = 3,
};

typedef enum _CHNLOP{
enum chnl_op {
CHNLOP_NONE = 0,
CHNLOP_SCAN = 1,
CHNLOP_SWBW = 2,
CHNLOP_SWCHNL = 3,
} CHNLOP, *PCHNLOP;
};

#define CHHLOP_IN_PROGRESS(_pHTInfo) \
((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? true : false
Expand Down Expand Up @@ -270,7 +270,7 @@ struct rt_hi_throughput {
u8 PeerBandwidth;

u8 bSwBwInProgress;
CHNLOP ChnlOp;
enum chnl_op ChnlOp;
u8 SwBwStep;

u8 bRegRT2RTAggregation;
Expand Down

0 comments on commit c1c5d07

Please sign in to comment.