Commit f12dfcb0 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef DIRECTION_VALUE to enum direction_value

Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent f58a1cd9
......@@ -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,
......
......@@ -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");
......
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