]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Staging: rtl8192e: Rename variable bRTSSTBC
authorTree Davies <tdavies@darkphysics.net>
Wed, 12 Jun 2024 03:22:26 +0000 (20:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2024 13:25:23 +0000 (15:25 +0200)
Rename variable bRTSSTBC to rtsstbc
to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240612032230.9738-21-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_tx.c

index 46e42fad5834bec218e59d7e50618803e3d0f039..b3d4b33942844fe66d0ee6d50019574f7ccb59f6 100644 (file)
@@ -894,7 +894,7 @@ void  rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc,
 
        pTxFwInfo->RtsEnable =  (cb_desc->rts_enable) ? 1 : 0;
        pTxFwInfo->CtsEnable = (cb_desc->cts_enable) ? 1 : 0;
-       pTxFwInfo->RtsSTBC = (cb_desc->bRTSSTBC) ? 1 : 0;
+       pTxFwInfo->RtsSTBC = (cb_desc->rtsstbc) ? 1 : 0;
        pTxFwInfo->RtsHT = (cb_desc->rts_rate & 0x80) ? 1 : 0;
        pTxFwInfo->RtsRate = _rtl92e_rate_mgn_to_hw(cb_desc->rts_rate);
        pTxFwInfo->RtsBandwidth = 0;
index 61d383a560f693cdb44221a862f66e7f987ea427..022851b7f1a9ca0ee6767e6d0db0841f0858d6c0 100644 (file)
@@ -116,7 +116,7 @@ struct cb_desc {
        u8 use_short_preamble:1;
        u8 tx_enable_fw_calc_dur:1;
        u8 ampdu_enable:1;
-       u8 bRTSSTBC:1;
+       u8 rtsstbc:1;
        u8 RTSSC:1;
 
        u8 rts_bw:1;
index 1aad5253ae4e7194f7d519e5e2c4ef0248cb00d8..b6bf10dc177212ab787618db7324b576a8390d41 100644 (file)
@@ -372,7 +372,7 @@ static void rtllib_query_protectionmode(struct rtllib_device *ieee,
 {
        struct rt_hi_throughput *ht_info;
 
-       tcb_desc->bRTSSTBC                      = false;
+       tcb_desc->rtsstbc                       = false;
        tcb_desc->rts_use_short_gi              = false;
        tcb_desc->cts_enable                    = false;
        tcb_desc->RTSSC                         = 0;