iwlwifi: mvm: fail temp test enabling if the ucode is not loaded
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 20 Aug 2014 07:21:07 +0000 (10:21 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 14 Sep 2014 09:56:38 +0000 (12:56 +0300)
commita26d4e7b096d85eeea0ce08950744e2887cb46fa
tree2e7a25b4f26fe59c709737816d5191a52308656c
parentbc44886d2645bb4c0422db09f67661638eacc3d1
iwlwifi: mvm: fail temp test enabling if the ucode is not loaded

If the ucode is not loaded, don't allow the temperature test to be
started, but allow it to be changed or stopped if already running.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/debugfs.c