diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-03-04 08:31:35 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-05 14:44:39 -0500 |
commit | 182ada1c712a4ebe14d6a023cfab3559b2527d69 (patch) | |
tree | c0ee9a66d73ee7e439120267db8edefdfebec130 /drivers/net/wireless/iwlwifi/iwl-agn-lib.c | |
parent | 00f157b49780e194c38dafdf9df8e10b8a6a9626 (diff) | |
download | blackbird-op-linux-182ada1c712a4ebe14d6a023cfab3559b2527d69.tar.gz blackbird-op-linux-182ada1c712a4ebe14d6a023cfab3559b2527d69.zip |
iwlwifi: fix wowlan suspend
This was broken by the commit 023ca58f1
"iwlwifi: Move the core suspend function to iwl-agn-lib"
where for some reason the code changed while moving,
from
.len[0] = sizeof(*key_data.rsc_tsc),
to
.len[0] = sizeof(key_data.rsc_tsc),
Cc: stable@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-lib.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c index 64cf439035c3..ca78e91de86c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c @@ -1240,7 +1240,7 @@ int iwlagn_suspend(struct iwl_priv *priv, .flags = CMD_SYNC, .data[0] = key_data.rsc_tsc, .dataflags[0] = IWL_HCMD_DFL_NOCOPY, - .len[0] = sizeof(key_data.rsc_tsc), + .len[0] = sizeof(*key_data.rsc_tsc), }; ret = iwl_trans_send_cmd(trans(priv), &rsc_tsc_cmd); |