staging: rtl8192e: Capitalize constant RegC38_TH
According to kernel coding style, capitalize defined constant. Signed-off-by: Teddy Engel <engel.teddy@gmail.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/e78f4c30a838d8e98794d80126ca246614b14b68.1718309120.git.engel.teddy@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c313e6b00b
commit
dd113e9c39
@@ -1752,7 +1752,7 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev)
|
||||
|
||||
if (priv->rtllib->link_state == MAC80211_LINKED) {
|
||||
if (priv->undecorated_smoothed_pwdb <=
|
||||
RegC38_TH) {
|
||||
REG_C38_TH) {
|
||||
if (reg_c38_State !=
|
||||
RegC38_NonFsync_Other_AP) {
|
||||
rtl92e_writeb(dev,
|
||||
@@ -1763,7 +1763,7 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev)
|
||||
RegC38_NonFsync_Other_AP;
|
||||
}
|
||||
} else if (priv->undecorated_smoothed_pwdb >=
|
||||
(RegC38_TH + 5)) {
|
||||
(REG_C38_TH + 5)) {
|
||||
if (reg_c38_State) {
|
||||
rtl92e_writeb(dev,
|
||||
rOFDM0_RxDetector3,
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
#define CURRENT_TX_RATE_REG 0x1e0
|
||||
#define INITIAL_TX_RATE_REG 0x1e1
|
||||
#define TX_RETRY_COUNT_REG 0x1ac
|
||||
#define RegC38_TH 20
|
||||
#define REG_C38_TH 20
|
||||
|
||||
/*--------------------------Define Parameters-------------------------------*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user