staging:rtl8192u: Rename variable MaxTxPowerInDbm - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Fri, 20 Jul 2018 20:21:33 +0000 (21:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jul 2018 06:58:32 +0000 (08:58 +0200)
Rename the variable MaxTxPowerInDbm to max_tx_pwr_dbm. This change clears a
checkpatch issue with CamelCase naming. This coding style change should not
impact runtime execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/dot11d.c
drivers/staging/rtl8192u/ieee80211/dot11d.h

index 17bccb7bf594e03146dc56f9df5481e2f0d1c5f5..44b5e506b14098e8dfb3f20fcd65dd250d0cfe42 100644 (file)
@@ -79,7 +79,7 @@ void Dot11d_UpdateCountryIe(struct ieee80211_device *dev, u8 *pTaddr,
 
                for (j = 0; j < pTriple->num_channels; j++) {
                        pDot11dInfo->channel_map[pTriple->first_channel + j] = 1;
-                       pDot11dInfo->MaxTxPwrDbmList[pTriple->first_channel + j] = pTriple->MaxTxPowerInDbm;
+                       pDot11dInfo->MaxTxPwrDbmList[pTriple->first_channel + j] = pTriple->max_tx_pwr_dbm;
                        MaxChnlNum = pTriple->first_channel + j;
                }
 
index 8c2b11d1218588ac4cb51532dd3e1e930b7e00d3..1b377faa53e036f5241ed825551a7427be07f000 100644 (file)
@@ -7,7 +7,7 @@
 struct chnl_txpower_triple {
        u8  first_channel;
        u8  num_channels;
-       u8  MaxTxPowerInDbm;
+       u8  max_tx_pwr_dbm;
 };
 
 typedef enum _DOT11D_STATE {