From: Eran Harary Date: Wed, 3 Jul 2013 08:00:06 +0000 (+0300) Subject: iwlwifi: mvm: fix debugfs restart if fw_restart is disabled X-Git-Tag: v3.12-rc1~132^2~297^2^2~41^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=291aa7c4a4c01ef925b366174fc05ff2a757fad0;p=pandora-kernel.git iwlwifi: mvm: fix debugfs restart if fw_restart is disabled If fw_restart is disabled, using the fw_restart debugfs file will enable fw_restart and then send the failing command, but this still frequently fails restart because it resets fw_restart afterwards and is thus racy. Fix this by tracking fw_restart separately and allowing "always restart", "never restart" and "restart N times". Signed-off-by: Eran Harary Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed