提交 02eec9c5 编写于 作者: W Wey-Yi Guy 提交者: John W. Linville

iwlwifi: set default tx power user limit to minimal

Set the tx_power_user_lmt to the lowest power level
this value will get overwritten by channel's max power avg
from eeprom
Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 aa065263
...@@ -1671,7 +1671,10 @@ int iwl_init_drv(struct iwl_priv *priv) ...@@ -1671,7 +1671,10 @@ int iwl_init_drv(struct iwl_priv *priv)
priv->qos_data.qos_cap.val = 0; priv->qos_data.qos_cap.val = 0;
priv->rates_mask = IWL_RATES_MASK; priv->rates_mask = IWL_RATES_MASK;
priv->tx_power_user_lmt = IWL_TX_POWER_TARGET_POWER_MAX; /* Set the tx_power_user_lmt to the lowest power level
* this value will get overwritten by channel max power avg
* from eeprom */
priv->tx_power_user_lmt = IWL_TX_POWER_TARGET_POWER_MIN;
ret = iwl_init_channel_map(priv); ret = iwl_init_channel_map(priv);
if (ret) { if (ret) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册