提交 3281bd4c 编写于 作者: A Ariej Marjieh 提交者: Emmanuel Grumbach

iwlwifi: change number of PAPD groups in PHY DB

The number of the PAPD group was increased in new devices.
Since we might now get empty entries on older devices, don't
warn if an entry is empty.
Signed-off-by: NAriej Marjieh <ariej.marjieh@intel.com>
Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
上级 01a9ca51
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
#include "iwl-trans.h" #include "iwl-trans.h"
#define CHANNEL_NUM_SIZE 4 /* num of channels in calib_ch size */ #define CHANNEL_NUM_SIZE 4 /* num of channels in calib_ch size */
#define IWL_NUM_PAPD_CH_GROUPS 4 #define IWL_NUM_PAPD_CH_GROUPS 7
#define IWL_NUM_TXP_CH_GROUPS 9 #define IWL_NUM_TXP_CH_GROUPS 9
struct iwl_phy_db_entry { struct iwl_phy_db_entry {
...@@ -383,7 +383,7 @@ static int iwl_phy_db_send_all_channel_groups( ...@@ -383,7 +383,7 @@ static int iwl_phy_db_send_all_channel_groups(
if (!entry) if (!entry)
return -EINVAL; return -EINVAL;
if (WARN_ON_ONCE(!entry->size)) if (!entry->size)
continue; continue;
/* Send the requested PHY DB section */ /* Send the requested PHY DB section */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册