81 lines
3.6 KiB
Diff
81 lines
3.6 KiB
Diff
|
From 1016fd9fda78a552dcc8e4cac32254aaf90cb5c4 Mon Sep 17 00:00:00 2001
|
||
|
From: Ivan Podogov <ginkage@yandex.ru>
|
||
|
Date: Fri, 3 Feb 2023 20:56:00 +0000
|
||
|
Subject: [PATCH] Fix rtl8188eu module indentation
|
||
|
|
||
|
Signed-off-by: Ivan Podogov <ginkage@yandex.ru>
|
||
|
---
|
||
|
.../net/wireless/rtl8188eu/core/efuse/rtw_efuse.c | 13 ++++++-------
|
||
|
drivers/net/wireless/rtl8188eu/core/rtw_mlme.c | 2 +-
|
||
|
drivers/net/wireless/rtl8188eu/core/rtw_recv.c | 10 +++++-----
|
||
|
3 files changed, 14 insertions(+), 15 deletions(-)
|
||
|
|
||
|
diff --git a/drivers/net/wireless/rtl8188eu/core/efuse/rtw_efuse.c b/drivers/net/wireless/rtl8188eu/core/efuse/rtw_efuse.c
|
||
|
index 6153aaff2..1b1b2f872 100644
|
||
|
--- a/drivers/net/wireless/rtl8188eu/core/efuse/rtw_efuse.c
|
||
|
+++ b/drivers/net/wireless/rtl8188eu/core/efuse/rtw_efuse.c
|
||
|
@@ -712,8 +712,7 @@ void rtw_efuse_analyze(PADAPTER padapter, u8 Type, u8 Fake)
|
||
|
offset = ((efuseExtHdr & 0xF0) >> 1) | offset_2_0;
|
||
|
wden = (efuseExtHdr & 0x0F);
|
||
|
efuseHeader2Byte = (efuseExtHdr<<8)|efuseHeader;
|
||
|
- RTW_INFO("Find efuseHeader2Byte = 0x%04X, offset=%d, wden=0x%x\n",
|
||
|
- efuseHeader2Byte, offset, wden);
|
||
|
+ RTW_INFO("Find efuseHeader2Byte = 0x%04X, offset=%d, wden=0x%x\n", efuseHeader2Byte, offset, wden);
|
||
|
}
|
||
|
} else {
|
||
|
RTW_INFO("Error, efuse[%d]=0xff, efuseExtHdr=0xff\n", eFuse_Addr-1);
|
||
|
@@ -816,11 +815,11 @@ void rtw_efuse_analyze(PADAPTER padapter, u8 Type, u8 Fake)
|
||
|
for (i = 0; i < mapLen; i++) {
|
||
|
if (i % 16 == 0)
|
||
|
RTW_PRINT_SEL(RTW_DBGDUMP, "0x%03x: ", i);
|
||
|
- _RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s"
|
||
|
- , pEfuseHal->fakeEfuseInitMap[i]
|
||
|
- , ((i + 1) % 16 == 0) ? "\n" : (((i + 1) % 8 == 0) ? " " : " ")
|
||
|
- );
|
||
|
- }
|
||
|
+ _RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s"
|
||
|
+ , pEfuseHal->fakeEfuseInitMap[i]
|
||
|
+ , ((i + 1) % 16 == 0) ? "\n" : (((i + 1) % 8 == 0) ? " " : " ")
|
||
|
+ );
|
||
|
+ }
|
||
|
_RTW_PRINT_SEL(RTW_DBGDUMP, "\n");
|
||
|
|
||
|
out_free_buffer:
|
||
|
diff --git a/drivers/net/wireless/rtl8188eu/core/rtw_mlme.c b/drivers/net/wireless/rtl8188eu/core/rtw_mlme.c
|
||
|
index 721b323aa..4ac76601a 100644
|
||
|
--- a/drivers/net/wireless/rtl8188eu/core/rtw_mlme.c
|
||
|
+++ b/drivers/net/wireless/rtl8188eu/core/rtw_mlme.c
|
||
|
@@ -3125,7 +3125,7 @@ void rtw_drv_scan_by_self(_adapter *padapter, u8 reason)
|
||
|
else
|
||
|
#endif
|
||
|
RTW_INFO(FUNC_ADPT_FMT" exit BusyTraffic\n", FUNC_ADPT_ARG(padapter));
|
||
|
- goto exit;
|
||
|
+ goto exit;
|
||
|
}
|
||
|
else if (ssc_chk != SS_ALLOW)
|
||
|
goto exit;
|
||
|
diff --git a/drivers/net/wireless/rtl8188eu/core/rtw_recv.c b/drivers/net/wireless/rtl8188eu/core/rtw_recv.c
|
||
|
index 4c96fc1c8..fae9d20d8 100644
|
||
|
--- a/drivers/net/wireless/rtl8188eu/core/rtw_recv.c
|
||
|
+++ b/drivers/net/wireless/rtl8188eu/core/rtw_recv.c
|
||
|
@@ -3538,11 +3538,11 @@ int validate_mp_recv_frame(_adapter *adapter, union recv_frame *precv_frame)
|
||
|
for (i = 0; i < precv_frame->u.hdr.len; i = i + 8)
|
||
|
RTW_INFO("%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:\n", *(ptr + i),
|
||
|
*(ptr + i + 1), *(ptr + i + 2) , *(ptr + i + 3) , *(ptr + i + 4), *(ptr + i + 5), *(ptr + i + 6), *(ptr + i + 7));
|
||
|
- RTW_INFO("#############################\n");
|
||
|
- _rtw_memset(pmppriv->mplink_buf, '\0' , sizeof(pmppriv->mplink_buf));
|
||
|
- _rtw_memcpy(pmppriv->mplink_buf, ptr, precv_frame->u.hdr.len);
|
||
|
- pmppriv->mplink_rx_len = precv_frame->u.hdr.len;
|
||
|
- pmppriv->mplink_brx =_TRUE;
|
||
|
+ RTW_INFO("#############################\n");
|
||
|
+ _rtw_memset(pmppriv->mplink_buf, '\0' , sizeof(pmppriv->mplink_buf));
|
||
|
+ _rtw_memcpy(pmppriv->mplink_buf, ptr, precv_frame->u.hdr.len);
|
||
|
+ pmppriv->mplink_rx_len = precv_frame->u.hdr.len;
|
||
|
+ pmppriv->mplink_brx =_TRUE;
|
||
|
}
|
||
|
}
|
||
|
if (pmppriv->bloopback) {
|
||
|
--
|
||
|
Created with Armbian build tools https://github.com/armbian/build
|
||
|
|