2017-12-28 19:07:44

by Erik Stromdahl

[permalink] [raw]
Subject: [PATCH 0/3] 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(-)

--
2.15.1


2017-12-28 19:07:47

by Erik Stromdahl

[permalink] [raw]
Subject: [PATCH 3/3] ath10k: bugfix: add USB case in ath10k_core_probe_fw

Signed-off-by: Erik Stromdahl <[email protected]>
---
drivers/net/wireless/ath/ath10k/core.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index 51444d34a06c..fe9341c97f31 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -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) {
--
2.15.1

2017-12-28 19:07:45

by Erik Stromdahl

[permalink] [raw]
Subject: [PATCH 1/3] ath10k: fix spelling error

Signed-off-by: Erik Stromdahl <[email protected]>
---
drivers/net/wireless/ath/ath10k/wmi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h
index b0ed38c05bf8..c7b30ed9015d 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.h
+++ b/drivers/net/wireless/ath/ath10k/wmi.h
@@ -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;
--
2.15.1

2017-12-28 19:07:46

by Erik Stromdahl

[permalink] [raw]
Subject: [PATCH 2/3] ath10k: remove unused prototype

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

Signed-off-by: Erik Stromdahl <[email protected]>
---
drivers/net/wireless/ath/ath10k/htt.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/htt.h b/drivers/net/wireless/ath/ath10k/htt.h
index 783640032216..360c71b106d7 100644
--- a/drivers/net/wireless/ath/ath10k/htt.h
+++ b/drivers/net/wireless/ath/ath10k/htt.h
@@ -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);
--
2.15.1

2018-01-09 08:19:12

by Kalle Valo

[permalink] [raw]
Subject: Re: [1/3] ath10k: fix spelling error

Erik Stromdahl <[email protected]> wrote:

> Signed-off-by: Erik Stromdahl <[email protected]>
> Signed-off-by: Kalle Valo <[email protected]>

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

--
https://patchwork.kernel.org/patch/10135791/

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