iwlwifi: mvm: initialize gtkdata->mvm correctly
authorEliad Peller <eliad@wizery.com>
Thu, 31 Dec 2015 13:19:32 +0000 (15:19 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 7 Jan 2016 17:01:31 +0000 (19:01 +0200)
gtkdata->mvm wasn't set in iwl_mvm_d0i3_update_keys,
resulting in kernel panic in some flows (when mvm
is actually used...)

Fixes: a3f7ba5c8825 ("iwlwifi: update key params on d0i3 entrance/exit")
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c

index 2cd9052899c45647ecec3eccfd2bb9dd2be61542..d3e21d95cecec52830163c4cd674d444b6940a41 100644 (file)
@@ -1843,6 +1843,7 @@ void iwl_mvm_d0i3_update_keys(struct iwl_mvm *mvm,
                              struct iwl_wowlan_status *status)
 {
        struct iwl_mvm_d3_gtk_iter_data gtkdata = {
+               .mvm = mvm,
                .status = status,
        };