Skip to contentSkip to conversation

ath10k: a few minor fixes

PATCH In review Erik Stromdahl 2 participants 6 messages Dec 28, 2017 – Jan 9, 2018 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

cover ath10k: a few minor fixes

I discovered these issues while working with the next round of patches for High Latency devices.

In order to reduce the size of that patchset, I think it is best if these patches could be added in advance.

The last patch fixes an actual bug that was introduced in commit 71e9c29fbd28ec14bb8f920c7afd515a75c00234

The other two are just cleanups.

Erik Stromdahl (3):
ath10k: fix spelling error
ath10k: remove unused prototype
ath10k: bugfix: add USB case in ath10k_core_probe_fw

 drivers/net/wireless/ath/ath10k/core.c | 1 +
 drivers/net/wireless/ath/ath10k/htt.h  | 1 -
 drivers/net/wireless/ath/ath10k/wmi.h  | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.15.1
#1 lore raw

PATCH 1/3 ath10k: fix spelling error

---
 drivers/net/wireless/ath/ath10k/wmi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/wmi.h +1 -1
index b0ed38c05bf8..c7b30ed9015d 100644
@@ -2929,7 +2929,7 @@ struct wmi_ext_resource_config_10_4_cmd {
 	__le32 max_tdls_concurrent_buffer_sta;
 };
 
-/* strucutre describing host memory chunk. */
+/* structure describing host memory chunk. */
 struct host_memory_chunk {
 	/* id of the request that is passed up in service ready */
 	__le32 req_id;
Signature · 1 line
2.15.1
#4 lore raw

PATCH 2/3 ath10k: remove unused prototype

In reply to Erik Stromdahl

The function does not exist and thus, the prototype can be removed.

---
 drivers/net/wireless/ath/ath10k/htt.h | 1 -
 1 file changed, 1 deletion(-)
drivers/net/wireless/ath/ath10k/htt.h +0 -1
index 783640032216..360c71b106d7 100644
@@ -1933,7 +1933,6 @@ void ath10k_htt_htc_t2h_msg_handler(struct ath10k *ar, struct sk_buff *skb);
 bool ath10k_htt_t2h_msg_handler(struct ath10k *ar, struct sk_buff *skb);
 int ath10k_htt_h2t_ver_req_msg(struct ath10k_htt *htt);
 int ath10k_htt_h2t_stats_req(struct ath10k_htt *htt, u8 mask, u64 cookie);
-int ath10k_htt_send_rx_ring_cfg_ll(struct ath10k_htt *htt);
 int ath10k_htt_h2t_aggr_cfg_msg(struct ath10k_htt *htt,
 				u8 max_subfrms_ampdu,
 				u8 max_subfrms_amsdu);
Signature · 1 line
2.15.1
#5 lore raw

PATCH 3/3 ath10k: bugfix: add USB case in ath10k_core_probe_fw

In reply to Erik Stromdahl
---
 drivers/net/wireless/ath/ath10k/core.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/ath10k/core.c +1 -0
index 51444d34a06c..fe9341c97f31 100644
@@ -2427,6 +2427,7 @@ static int ath10k_core_probe_fw(struct ath10k *ar)
 		break;
 	case ATH10K_BUS_PCI:
 	case ATH10K_BUS_AHB:
+	case ATH10K_BUS_USB:
 		memset(&target_info, 0, sizeof(target_info));
 		ret = ath10k_bmi_get_target_info(ar, &target_info);
 		if (ret) {
Signature · 1 line
2.15.1
#2 lore raw

Re: [1/3] ath10k: fix spelling error

In reply to Erik Stromdahl
Quoted 2 lines · Erik Stromdahl

3 patches applied to ath-next branch of ath.git, thanks.

5c9f07132706 ath10k: fix spelling error
fbea11c8d583 ath10k: remove unused prototype e6fe214e6197 ath10k: bugfix: add USB case in ath10k_core_probe_fw

Signature · 3 lines
https://patchwork.kernel.org/patch/10135791/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
#3 lore raw

Re: [1/3] ath10k: fix spelling error

In reply to Erik Stromdahl
Quoted 2 lines · Erik Stromdahl

3 patches applied to ath-next branch of ath.git, thanks.

5c9f07132706 ath10k: fix spelling error
fbea11c8d583 ath10k: remove unused prototype e6fe214e6197 ath10k: bugfix: add USB case in ath10k_core_probe_fw

Signature · 9 lines
https://patchwork.kernel.org/patch/10135791/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k