diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2017-12-08 07:52:59 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-12-08 08:04:22 -0500 |
commit | 59365b9efd48b113badfa9dafbb391ef84fa7b08 (patch) | |
tree | 00670e32a843d080bafc8ca67984ad72961c304a | |
parent | f5b59b714fe45349b7a14e3bfa5b7c36ba1e650b (diff) |
iwlwifi: mvm: fix wrong #ifdef that uses a macro from backports
I accidentally pushed a patch with CPTCFG (which is used in the
backports project) to the rs-fw.c file. Fix that to use CONFIG
instead.
Fixes: 9f66a397c877 ("iwlwifi: mvm: rs: add ops for the new rate scaling in the FW")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c b/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c index 4e5f09408517..55d1274c6092 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c | |||
@@ -308,7 +308,7 @@ void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta) | |||
308 | lq_sta->pers.last_rssi = S8_MIN; | 308 | lq_sta->pers.last_rssi = S8_MIN; |
309 | lq_sta->last_rate_n_flags = 0; | 309 | lq_sta->last_rate_n_flags = 0; |
310 | 310 | ||
311 | #ifdef CPTCFG_MAC80211_DEBUGFS | 311 | #ifdef CONFIG_MAC80211_DEBUGFS |
312 | lq_sta->pers.dbg_fixed_rate = 0; | 312 | lq_sta->pers.dbg_fixed_rate = 0; |
313 | #endif | 313 | #endif |
314 | } | 314 | } |