diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-05-04 10:50:38 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-05-13 13:31:52 -0400 |
commit | 3fa507386dc4cdf731344cb9361e9cca373cedb9 (patch) | |
tree | 3368a5e3f9dcb39039aafeab25165091c62c5f5b /drivers/net/wireless/iwlwifi/iwl-agn-ucode.c | |
parent | 6b86bd62a505a4a9739474f00f8088395b7a80ba (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-agn-ucode.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-ucode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c b/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c index 8bda0e8d6661..e35755c577db 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c | |||
@@ -217,8 +217,8 @@ static int iwlagn_send_calib_cfg(struct iwl_priv *priv) | |||
217 | struct iwl_calib_cfg_cmd calib_cfg_cmd; | 217 | struct iwl_calib_cfg_cmd calib_cfg_cmd; |
218 | struct iwl_host_cmd cmd = { | 218 | struct iwl_host_cmd cmd = { |
219 | .id = CALIBRATION_CFG_CMD, | 219 | .id = CALIBRATION_CFG_CMD, |
220 | .len = sizeof(struct iwl_calib_cfg_cmd), | 220 | .len = { sizeof(struct iwl_calib_cfg_cmd), }, |
221 | .data = &calib_cfg_cmd, | 221 | .data = { &calib_cfg_cmd, }, |
222 | }; | 222 | }; |
223 | 223 | ||
224 | memset(&calib_cfg_cmd, 0, sizeof(calib_cfg_cmd)); | 224 | memset(&calib_cfg_cmd, 0, sizeof(calib_cfg_cmd)); |