linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ath10k: Replace warning with an error message if HTT op version is unset
@ 2016-06-23 16:40 Mohammed Shafi Shajakhan
  2016-06-23 16:40 ` [PATCH 2/2] ath10k: Fix sending NULL/ Qos NULL data frames for QCA99X0 and later Mohammed Shafi Shajakhan
  2016-07-08  6:54 ` [1/2] ath10k: Replace warning with an error message if HTT op version is unset Kalle Valo
  0 siblings, 2 replies; 15+ messages in thread
From: Mohammed Shafi Shajakhan @ 2016-06-23 16:40 UTC (permalink / raw)
  To: ath10k; +Cc: mohammed, linux-wireless, Mohammed Shafi Shajakhan

From: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>

Print an ath10k error message rather a call trace when HTT op version is
not found from firmware META data (IE). This should be sufficient to figure
out what went wrong.

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
---
 drivers/net/wireless/ath/ath10k/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index dfb3db0..689d6ce 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -1675,7 +1675,7 @@ static int ath10k_core_init_firmware_features(struct ath10k *ar)
 		case ATH10K_FW_WMI_OP_VERSION_10_4:
 		case ATH10K_FW_WMI_OP_VERSION_UNSET:
 		case ATH10K_FW_WMI_OP_VERSION_MAX:
-			WARN_ON(1);
+			ath10k_err(ar, "htt op version not found from fw meta data");
 			return -EINVAL;
 		}
 	}
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-07-20 16:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-23 16:40 [PATCH 1/2] ath10k: Replace warning with an error message if HTT op version is unset Mohammed Shafi Shajakhan
2016-06-23 16:40 ` [PATCH 2/2] ath10k: Fix sending NULL/ Qos NULL data frames for QCA99X0 and later Mohammed Shafi Shajakhan
2016-06-23 17:12   ` Ben Greear
2016-06-25 18:53     ` Mohammed Shafi Shajakhan
2016-06-26  0:27       ` Ben Greear
2016-06-30 10:25         ` Valo, Kalle
2016-07-05 15:21           ` Ben Greear
2016-07-08 11:00             ` Mohammed Shafi Shajakhan
2016-06-27  9:27   ` Michal Kazior
2016-06-27 14:36     ` Mohammed Shafi Shajakhan
2016-06-28  6:48       ` Michal Kazior
2016-06-29  9:47         ` Mohammed Shafi Shajakhan
     [not found]           ` <CAD2nsn3TOSaOCmm5YT6_D+aaoH9=pagQamDDz2VT+nKrFH0K8g@mail.gmail.com>
     [not found]             ` <900ae7541c5a4194a2f73479e1dd8bb2@aphydexm01b.ap.qualcomm.com>
2016-07-20 12:22               ` Michal Kazior
2016-07-20 16:27                 ` Mohammed Shafi Shajakhan
2016-07-08  6:54 ` [1/2] ath10k: Replace warning with an error message if HTT op version is unset Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).