Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef DIRECTION_VALUE to enum direction_…
Browse files Browse the repository at this point in the history
…value

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 f58a1cd commit f12dfcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192e/rtl819x_Qos.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,12 @@ enum qos_ele_subtype {
};


typedef enum _DIRECTION_VALUE{
enum direction_value {
DIR_UP = 0,
DIR_DOWN = 1,
DIR_DIRECT = 2,
DIR_BI_DIR = 3,
} DIRECTION_VALUE,*PDIRECTION_VALUE;
};

typedef enum _ACM_METHOD{
eAcmWay0_SwAndHw = 0,
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/rtl819x_TSProc.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ bool GetTs(
(&ieee->Tx_TS_Admit_List):
(&ieee->Rx_TS_Admit_List);

DIRECTION_VALUE Dir = (ieee->iw_mode == IW_MODE_MASTER)?
enum direction_value Dir = (ieee->iw_mode == IW_MODE_MASTER)?
((TxRxSelect==TX_DIR)?DIR_DOWN:DIR_UP):
((TxRxSelect==TX_DIR)?DIR_UP:DIR_DOWN);
RTLLIB_DEBUG(RTLLIB_DL_TS, "to add Ts\n");
Expand Down

0 comments on commit f12dfcb

Please sign in to comment.