We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c83982 + 549b908 commit 0fed6edCopy full SHA for 0fed6ed
drivers/net/wireless/rtl8192cu_v40/hal/rtl8192c/rtl8192c_rf6052.c
@@ -1010,21 +1010,7 @@ VOID
1010
PHY_RFShadowRefresh(
1011
IN PADAPTER Adapter)
1012
{
1013
- u32 eRFPath;
1014
- u32 Offset;
1015
-
1016
- for (eRFPath = 0; eRFPath < RF6052_MAX_PATH; eRFPath++)
1017
- {
1018
- for (Offset = 0; Offset <= RF6052_MAX_REG; Offset++)
1019
1020
- RF_Shadow[eRFPath][Offset].Value = 0;
1021
- RF_Shadow[eRFPath][Offset].Compare = _FALSE;
1022
- RF_Shadow[eRFPath][Offset].Recorver = _FALSE;
1023
- RF_Shadow[eRFPath][Offset].ErrorOrNot = _FALSE;
1024
- RF_Shadow[eRFPath][Offset].Driver_Write = _FALSE;
1025
- }
1026
1027
+ memset(RF_Shadow, 0, sizeof(RF_Shadow));
1028
} /* PHY_RFShadowRead */
1029
1030
/* End of HalRf6052.c */
0 commit comments