mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 14:03:40 +00:00
rtl8188eu: Remove ODM_RF_PATH_MAX
This is always equal to RF_PATH_MAX. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
c73b464cae
commit
3c79709126
2 changed files with 1 additions and 3 deletions
|
@ -293,7 +293,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(struct odm_dm_struct *dm_odm,
|
||||||
|
|
||||||
/* (1)Get RSSI for HT rate */
|
/* (1)Get RSSI for HT rate */
|
||||||
|
|
||||||
for (i = ODM_RF_PATH_A; i < ODM_RF_PATH_MAX; i++) {
|
for (i = ODM_RF_PATH_A; i < RF_PATH_MAX; i++) {
|
||||||
/* 2008/01/30 MH we will judge RF RX path now. */
|
/* 2008/01/30 MH we will judge RF RX path now. */
|
||||||
if (dm_odm->RFPathRxEnable & BIT(i))
|
if (dm_odm->RFPathRxEnable & BIT(i))
|
||||||
rf_rx_num++;
|
rf_rx_num++;
|
||||||
|
|
|
@ -946,8 +946,6 @@ struct odm_dm_struct {
|
||||||
struct timer_list FastAntTrainingTimer;
|
struct timer_list FastAntTrainingTimer;
|
||||||
}; /* DM_Dynamic_Mechanism_Structure */
|
}; /* DM_Dynamic_Mechanism_Structure */
|
||||||
|
|
||||||
#define ODM_RF_PATH_MAX 3
|
|
||||||
|
|
||||||
enum ODM_RF_RADIO_PATH {
|
enum ODM_RF_RADIO_PATH {
|
||||||
ODM_RF_PATH_A = 0, /* Radio Path A */
|
ODM_RF_PATH_A = 0, /* Radio Path A */
|
||||||
ODM_RF_PATH_B = 1, /* Radio Path B */
|
ODM_RF_PATH_B = 1, /* Radio Path B */
|
||||||
|
|
Loading…
Reference in a new issue