From: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Date: Wed, 7 Jul 2010 15:26:45 +0000 (-0700)
Subject: iwlwifi: "recover_from_tx_stall" function for 4965
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b807b8a16bee27eb93a3393c173ce209a992ef18;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

iwlwifi: "recover_from_tx_stall" function for 4965

"Recover from tx stall" function is available for all devices except
4965, here add the functionality to 4965.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
---

diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index 1dd3bc4c107..3a0d0adab1a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -2286,6 +2286,7 @@ static struct iwl_lib_ops iwl4965_lib = {
 		.tx_stats_read = iwl_ucode_tx_stats_read,
 		.general_stats_read = iwl_ucode_general_stats_read,
 	},
+	.recover_from_tx_stall = iwl_bg_monitor_recover,
 	.check_plcp_health = iwl_good_plcp_health,
 };