From: Stanislaw Gruszka Date: Wed, 18 Apr 2012 15:01:15 +0000 (-0700) Subject: iwlwifi: do not nulify ctx->vif on reset X-Git-Tag: v3.2.17~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77a23ae9ae9e552e885292b120d19434c25aad89;p=pandora-kernel.git iwlwifi: do not nulify ctx->vif on reset commit 8db4c7e25d153fb049e81715d72fa3be3a0c3b69 upstream. ctx->vif is dereferenced in different part of iwlwifi code, so do not nullify it. This should address at least one of the possible reasons of WARNING at iwlagn_mac_remove_interface, and perhaps some random crashes when firmware reset is performed. Signed-off-by: Stanislaw Gruszka Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville [bwh: Backported to 3.2: - Change filename iwl-mac80211.c to iwl-core.c - Change context in iwlagn_prepare_restart()] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed