1
0
Fork 0

iwlwifi: do not use huge command buffer for channel switch

Channel switch host command do not need to allocate huge command buffer
since its size is already included in the iwl_device_cmd structure.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
hifive-unleashed-5.1
Wey-Yi Guy 2010-05-18 09:18:06 -07:00 committed by Reinette Chatre
parent ff0d91c3ee
commit 3839f7ce6d
2 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ static int iwl5000_hw_channel_switch(struct iwl_priv *priv,
struct iwl_host_cmd hcmd = {
.id = REPLY_CHANNEL_SWITCH,
.len = sizeof(cmd),
.flags = CMD_SIZE_HUGE,
.flags = CMD_SYNC,
.data = &cmd,
};

View File

@ -253,7 +253,7 @@ static int iwl6000_hw_channel_switch(struct iwl_priv *priv,
struct iwl_host_cmd hcmd = {
.id = REPLY_CHANNEL_SWITCH,
.len = sizeof(cmd),
.flags = CMD_SIZE_HUGE,
.flags = CMD_SYNC,
.data = &cmd,
};