2024-05-21 14:36:53

by Roshan Khatri

[permalink] [raw]
Subject: [PATCH] staging: rtl8712: Fix spelling mistake in rtl8712_xmit.c

codespell reported misspelled aggregation in rtl8712_xmit.c. This patch
corrects the spelling to increase code readability and searching.

Signed-off-by: Roshan Khatri <[email protected]>
---
drivers/staging/rtl8712/rtl8712_xmit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8712/rtl8712_xmit.c b/drivers/staging/rtl8712/rtl8712_xmit.c
index d7d678b04ca8..12f2fdb1b3cb 100644
--- a/drivers/staging/rtl8712/rtl8712_xmit.c
+++ b/drivers/staging/rtl8712/rtl8712_xmit.c
@@ -247,7 +247,7 @@ void r8712_construct_txaggr_cmd_desc(struct xmit_buf *pxmitbuf)
{
struct tx_desc *ptx_desc = (struct tx_desc *)pxmitbuf->pbuf;

- /* Fill up TxCmd Descriptor according as USB FW Tx Aaggregation info.*/
+ /* Fill up TxCmd Descriptor according as USB FW Tx Aggregation info.*/
/* dw0 */
ptx_desc->txdw0 = cpu_to_le32(CMD_HDR_SZ & 0xffff);
ptx_desc->txdw0 |=
--
2.34.1



2024-05-21 19:05:46

by Philipp Hortmann

[permalink] [raw]
Subject: Re: [PATCH] staging: rtl8712: Fix spelling mistake in rtl8712_xmit.c

On 5/21/24 16:36, Roshan Khatri wrote:
> codespell reported misspelled aggregation in rtl8712_xmit.c. This patch
> corrects the spelling to increase code readability and searching.
>
> Signed-off-by: Roshan Khatri <[email protected]>
> ---
> drivers/staging/rtl8712/rtl8712_xmit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8712/rtl8712_xmit.c b/drivers/staging/rtl8712/rtl8712_xmit.c
> index d7d678b04ca8..12f2fdb1b3cb 100644
> --- a/drivers/staging/rtl8712/rtl8712_xmit.c
> +++ b/drivers/staging/rtl8712/rtl8712_xmit.c
> @@ -247,7 +247,7 @@ void r8712_construct_txaggr_cmd_desc(struct xmit_buf *pxmitbuf)
> {
> struct tx_desc *ptx_desc = (struct tx_desc *)pxmitbuf->pbuf;
>
> - /* Fill up TxCmd Descriptor according as USB FW Tx Aaggregation info.*/
> + /* Fill up TxCmd Descriptor according as USB FW Tx Aggregation info.*/
> /* dw0 */
> ptx_desc->txdw0 = cpu_to_le32(CMD_HDR_SZ & 0xffff);
> ptx_desc->txdw0 |=

Tested-by: Philipp Hortmann <[email protected]>