|
@@ -6327,11 +6327,9 @@ void lim_calculate_tpc(struct mac_context *mac,
|
|
} else {
|
|
} else {
|
|
max_tx_power = QDF_MIN(reg_max,
|
|
max_tx_power = QDF_MIN(reg_max,
|
|
local_constraint);
|
|
local_constraint);
|
|
- if (!max_tx_power)
|
|
|
|
- max_tx_power = reg_max;
|
|
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- max_tx_power = QDF_MIN(reg_max, local_constraint);
|
|
|
|
|
|
+ max_tx_power = reg_max - local_constraint;
|
|
if (!max_tx_power)
|
|
if (!max_tx_power)
|
|
max_tx_power = reg_max;
|
|
max_tx_power = reg_max;
|
|
}
|
|
}
|