generic: replace simple AQR hack patch with upstream version
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / ath11k / 0009-wifi-ath11k-Fix-a-few-spelling-errors.patch
1 From d68a283bfc39aeed2a51c67804e014bf4b35c7e1 Mon Sep 17 00:00:00 2001
2 From: Jeff Johnson <quic_jjohnson@quicinc.com>
3 Date: Tue, 22 Aug 2023 07:50:49 -0700
4 Subject: [PATCH] wifi: ath11k: Fix a few spelling errors
5
6 Fix a few issues flagged by 'codespell'.
7
8 Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
9 Acked-by: Randy Dunlap <rdunlap@infradead.org>
10 Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
11 Link: https://lore.kernel.org/r/20230822-ath_spelling-v1-2-8e2698759564@quicinc.com
12 ---
13 drivers/net/wireless/ath/ath11k/dp.h | 2 +-
14 drivers/net/wireless/ath/ath11k/dp_rx.c | 2 +-
15 drivers/net/wireless/ath/ath11k/dp_tx.c | 2 +-
16 3 files changed, 3 insertions(+), 3 deletions(-)
17
18 --- a/drivers/net/wireless/ath/ath11k/dp.h
19 +++ b/drivers/net/wireless/ath/ath11k/dp.h
20 @@ -635,7 +635,7 @@ enum htt_ppdu_stats_tag_type {
21 * b'24 - status_swap: 1 is to swap status TLV
22 * b'25 - pkt_swap: 1 is to swap packet TLV
23 * b'26:31 - rsvd1: reserved for future use
24 - * dword1 - b'0:16 - ring_buffer_size: size of bufferes referenced by rx ring,
25 + * dword1 - b'0:16 - ring_buffer_size: size of buffers referenced by rx ring,
26 * in byte units.
27 * Valid only for HW_TO_SW_RING and SW_TO_HW_RING
28 * - b'16:31 - rsvd2: Reserved for future use
29 --- a/drivers/net/wireless/ath/ath11k/dp_rx.c
30 +++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
31 @@ -3423,7 +3423,7 @@ static int ath11k_dp_rx_h_defrag_reo_rei
32 ath11k_hal_rx_buf_addr_info_set(msdu0, paddr, cookie,
33 ab->hw_params.hal_params->rx_buf_rbm);
34
35 - /* Fill mpdu details into reo entrace ring */
36 + /* Fill mpdu details into reo entrance ring */
37 srng = &ab->hal.srng_list[ab->dp.reo_reinject_ring.ring_id];
38
39 spin_lock_bh(&srng->lock);
40 --- a/drivers/net/wireless/ath/ath11k/dp_tx.c
41 +++ b/drivers/net/wireless/ath/ath11k/dp_tx.c
42 @@ -238,7 +238,7 @@ tcl_ring_sel:
43 spin_unlock_bh(&tcl_ring->lock);
44 ret = -ENOMEM;
45
46 - /* Checking for available tcl descritors in another ring in
47 + /* Checking for available tcl descriptors in another ring in
48 * case of failure due to full tcl ring now, is better than
49 * checking this ring earlier for each pkt tx.
50 * Restart ring selection if some rings are not checked yet.