Blame SOURCES/0002-Revert-iwlwifi-mvm-fix-merge-damage-in-iwl_mvm_vif_d.patch

deb259
From 1151781dfad20d53bf37122d1043657ce6235a59 Mon Sep 17 00:00:00 2001
deb259
From: Eugene Syromiatnikov <esyr@redhat.com>
deb259
Date: Thu, 11 Jul 2019 18:29:15 +0200
deb259
Subject: [PATCH] Revert "iwlwifi: mvm: fix merge damage in
deb259
 iwl_mvm_vif_dbgfs_register()"
deb259
deb259
This reverts commit d156e67d3f58c5d3c7ebe1bec80657db534f32d4.
deb259
---
deb259
 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c | 6 ++++++
deb259
 1 file changed, 6 insertions(+)
deb259
deb259
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c
deb259
index f043eefabb4e..83118cb94882 100644
deb259
--- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c
deb259
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c
deb259
@@ -779,6 +779,12 @@ void iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
deb259
 		return;
deb259
 	}
deb259
 
deb259
+	if (!mvmvif->dbgfs_dir) {
deb259
+		IWL_ERR(mvm, "Failed to create debugfs directory under %pd\n",
deb259
+			dbgfs_dir);
deb259
+		return;
deb259
+	}
deb259
+
deb259
 	if (iwlmvm_mod_params.power_scheme != IWL_POWER_SCHEME_CAM &&
deb259
 	    ((vif->type == NL80211_IFTYPE_STATION && !vif->p2p) ||
deb259
 	     (vif->type == NL80211_IFTYPE_STATION && vif->p2p)))
deb259
-- 
deb259
2.13.6
deb259