iwlwifi: fix wowlan suspend
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Mar 2012 16:31:35 +0000 (08:31 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 19:44:39 +0000 (14:44 -0500)
commit182ada1c712a4ebe14d6a023cfab3559b2527d69
treec0ee9a66d73ee7e439120267db8edefdfebec130
parent00f157b49780e194c38dafdf9df8e10b8a6a9626
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>
drivers/net/wireless/iwlwifi/iwl-agn-lib.c