aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2009-11-20 15:05:01 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-23 17:05:34 -0500
commit6262408392aa66083c9d5db101755fe753c97d4e (patch)
treecb8e58a38f382e9f372bfad6fbe0ab6e43a7b6ce /drivers
parent2943f136ffe29adb08162197b129bf8106e8191c (diff)
iwlwifi: fix reserved2 field in iwl4965_addsta
reserved2 field in "struct iwl4965_addsta_cmd" is __le16. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index d1fab4e19204..a8914898133e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -1819,7 +1819,7 @@ static u16 iwl4965_build_addsta_hcmd(const struct iwl_addsta_cmd *cmd, u8 *data)
1819 addsta->add_immediate_ba_ssn = cmd->add_immediate_ba_ssn; 1819 addsta->add_immediate_ba_ssn = cmd->add_immediate_ba_ssn;
1820 addsta->sleep_tx_count = cmd->sleep_tx_count; 1820 addsta->sleep_tx_count = cmd->sleep_tx_count;
1821 addsta->reserved1 = cpu_to_le16(0); 1821 addsta->reserved1 = cpu_to_le16(0);
1822 addsta->reserved2 = cpu_to_le32(0); 1822 addsta->reserved2 = cpu_to_le16(0);
1823 1823
1824 return (u16)sizeof(struct iwl4965_addsta_cmd); 1824 return (u16)sizeof(struct iwl4965_addsta_cmd);
1825} 1825}