diff --git a/hal/odm_HWConfig.c b/hal/odm_HWConfig.c index 4c6b6c2..490ffc8 100644 --- a/hal/odm_HWConfig.c +++ b/hal/odm_HWConfig.c @@ -293,7 +293,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(struct odm_dm_struct *dm_odm, /* (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. */ if (dm_odm->RFPathRxEnable & BIT(i)) rf_rx_num++; diff --git a/include/odm.h b/include/odm.h index c07e90f..3c0f259 100644 --- a/include/odm.h +++ b/include/odm.h @@ -946,8 +946,6 @@ struct odm_dm_struct { struct timer_list FastAntTrainingTimer; }; /* DM_Dynamic_Mechanism_Structure */ -#define ODM_RF_PATH_MAX 3 - enum ODM_RF_RADIO_PATH { ODM_RF_PATH_A = 0, /* Radio Path A */ ODM_RF_PATH_B = 1, /* Radio Path B */