From: Eliad Peller Date: Tue, 3 Mar 2015 10:03:20 +0000 (+0200) Subject: iwlwifi: mvm: take IWL_MVM_REF_UCODE_DOWN before restarting hw X-Git-Tag: omap-for-v4.2/o2_dc~131^2~39^2~6^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48e67751681654efe9743be64f18f1f08d1dbef2;p=pandora-kernel.git iwlwifi: mvm: take IWL_MVM_REF_UCODE_DOWN before restarting hw we unref IWL_MVM_REF_UCODE_DOWN on iwl_mvm_restart_complete(). Usually, the restart is initiated by iwl_mvm_nic_restart(), which takes the reference before restarting the hw. However, in D3 flow we might call ieee80211_restart_hw() directly (in case of suspend error and on d3_test-resume), which without taking the ref first. fix it. Signed-off-by: Eliad Peller Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed