提交 bd68fb6f 编写于 作者: R Ron Rindjunsky 提交者: John W. Linville

iwlwifi: increase max payload of iwl_cmd

This patch increases iwl_cmd payload maximum size from 360 to 640
to fit some of iwl5000 commands as well.
Signed-off-by: NRon Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 e1dfc085
......@@ -307,6 +307,8 @@ struct iwl_cmd_meta {
} __attribute__ ((packed));
#define IWL_CMD_MAX_PAYLOAD 640
/**
* struct iwl_cmd
*
......@@ -332,7 +334,7 @@ struct iwl_cmd {
struct iwl4965_tx_beacon_cmd tx_beacon;
struct iwl4965_rxon_assoc_cmd rxon_assoc;
u8 *indirect;
u8 payload[360];
u8 payload[IWL_CMD_MAX_PAYLOAD];
} __attribute__ ((packed)) cmd;
} __attribute__ ((packed));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册