aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-hcmd.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-05-04 10:50:38 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-05-13 13:31:52 -0400
commit3fa507386dc4cdf731344cb9361e9cca373cedb9 (patch)
tree3368a5e3f9dcb39039aafeab25165091c62c5f5b /drivers/net/wireless/iwlwifi/iwl-hcmd.c
parent6b86bd62a505a4a9739474f00f8088395b7a80ba (diff)
iwlagn: prepare for multi-TB commands
In a subsequent patch, I want to make commands use multiple TBs in a TFD. This is a simple change to prepare the data structures for this, with as of now still just a single TB supported. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-hcmd.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-hcmd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-hcmd.c b/drivers/net/wireless/iwlwifi/iwl-hcmd.c
index 8f0beb992ccf..1ff1f31250c3 100644
--- a/drivers/net/wireless/iwlwifi/iwl-hcmd.c
+++ b/drivers/net/wireless/iwlwifi/iwl-hcmd.c
@@ -264,8 +264,8 @@ int iwl_send_cmd_pdu(struct iwl_priv *priv, u8 id, u16 len, const void *data)
264{ 264{
265 struct iwl_host_cmd cmd = { 265 struct iwl_host_cmd cmd = {
266 .id = id, 266 .id = id,
267 .len = len, 267 .len = { len, },
268 .data = data, 268 .data = { data, },
269 }; 269 };
270 270
271 return iwl_send_cmd_sync(priv, &cmd); 271 return iwl_send_cmd_sync(priv, &cmd);
@@ -279,8 +279,8 @@ int iwl_send_cmd_pdu_async(struct iwl_priv *priv,
279{ 279{
280 struct iwl_host_cmd cmd = { 280 struct iwl_host_cmd cmd = {
281 .id = id, 281 .id = id,
282 .len = len, 282 .len = { len, },
283 .data = data, 283 .data = { data, },
284 }; 284 };
285 285
286 cmd.flags |= CMD_ASYNC; 286 cmd.flags |= CMD_ASYNC;