From: Eliad Peller Date: Thu, 4 Dec 2014 08:27:20 +0000 (+0200) Subject: iwlwifi: mvm: clear IN_HW_RESTART flag on stop() X-Git-Tag: fixes-v4.0-rc1~357^2~6^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a79a0c011cb291675e3b80760a452fcba5c59d9;p=pandora-kernel.git iwlwifi: mvm: clear IN_HW_RESTART flag on stop() On stop(), we already cleared our internal state, and the restart_complete() callback won't be called, so simply clear the IN_HW_RESTART flag. Keeping the flag might result in invalid state on the next start(), preventing the driver starting properly. Additionally, don't take IWL_MVM_REF_UCODE_DOWN on stop() if hw restart was requested, as the ref was already taken in this case. Signed-off-by: Eliad Peller Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed