]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iwlwifi: mvm: fix wrong #ifdef that uses a macro from backports
authorLuca Coelho <luciano.coelho@intel.com>
Fri, 8 Dec 2017 12:52:59 +0000 (14:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Dec 2017 13:04:22 +0000 (15:04 +0200)
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>
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c

index 4e5f0940851731a1d17f8961efa457b21d8a8d47..55d1274c6092c8f69d6ceacef53d033b9ba9004a 100644 (file)
@@ -308,7 +308,7 @@ void iwl_mvm_rs_add_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta)
        lq_sta->pers.last_rssi = S8_MIN;
        lq_sta->last_rate_n_flags = 0;
 
-#ifdef CPTCFG_MAC80211_DEBUGFS
+#ifdef CONFIG_MAC80211_DEBUGFS
        lq_sta->pers.dbg_fixed_rate = 0;
 #endif
 }