iwlwifi: mvm: check firmware is up in debugfs
authorJohannes Berg <johannes.berg@intel.com>
Wed, 22 Mar 2017 21:19:41 +0000 (22:19 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 5 Jun 2017 20:29:38 +0000 (23:29 +0300)
commit504bd624663cde6141ab025445c93420c387062e
tree5dc6d0aac677f7bcf5eb8497d2ab50dbf47e3ba2
parent9eca702ca1da715199c104363cad041d989aafd1
iwlwifi: mvm: check firmware is up in debugfs

Protect various debugfs files that need to communicate with the
firmware from being used when the firmware isn't running.

Some will just reject getting written to, while others that store
some state will simply store it and not apply it immediately.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c