mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove MAX_RF_PATH
This symbol has the same value as RF_PATH_MAX. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
b8bfb4c958
commit
e1e88e1ceb
2 changed files with 15 additions and 20 deletions
|
@ -3157,15 +3157,10 @@ Hal_ReadTxPowerInfo88E(
|
|||
if (!AutoLoadFail)
|
||||
pHalData->bTXPowerDataReadFromEEPORM = true;
|
||||
|
||||
/* for (rfPath = 0 ; rfPath < MAX_RF_PATH ; rfPath++) */
|
||||
for (rfPath = 0 ; rfPath < pHalData->NumTotalRFPath ; rfPath++)
|
||||
{
|
||||
for (ch = 0 ; ch < CHANNEL_MAX_NUMBER ; ch++)
|
||||
{
|
||||
for (rfPath = 0 ; rfPath < pHalData->NumTotalRFPath ; rfPath++) {
|
||||
for (ch = 0 ; ch < CHANNEL_MAX_NUMBER ; ch++) {
|
||||
bIn24G = Hal_GetChnlGroup88E(ch+1,&group);
|
||||
if (bIn24G)
|
||||
{
|
||||
|
||||
if (bIn24G) {
|
||||
pHalData->Index24G_CCK_Base[rfPath][ch]=pwrInfo24G.IndexCCK_Base[rfPath][group];
|
||||
|
||||
if (ch==(14-1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue