iwlwifi: mvm: don't send CTDP commands via debugfs if not supported
authorMatt Chen <matt.chen@intel.com>
Fri, 23 Jun 2017 09:50:18 +0000 (17:50 +0800)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Aug 2017 18:14:42 +0000 (21:14 +0300)
commit0bef1b83d35566e9bc757469c823c126862a65d3
tree5cba3248bfa93f068022036f0188d01301cd9f3c
parent6ca33f8bae01bd3f1949287a0339c3e6f9e96aca
iwlwifi: mvm: don't send CTDP commands via debugfs if not supported

Fix this issue if it is not supported by the firmware.

Fixes: 00f481bd895a ("iwlwifi: mvm: add ctdp operations to debugfs")
Signed-off-by: Matt Chen <matt.chen@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c