mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-25 09:31:36 +00:00
Fix: remove extraneous parentheses
This commit is contained in:
parent
d6f7d9d882
commit
b293b4d12e
@ -1575,7 +1575,7 @@ u32 rtw_aes_encrypt(_adapter *padapter, u8 *pxmitframe)
|
|||||||
pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset;
|
pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset;
|
||||||
|
|
||||||
/* 4 start to encrypt each fragment */
|
/* 4 start to encrypt each fragment */
|
||||||
if ((pattrib->encrypt == _AES_)) {
|
if (pattrib->encrypt == _AES_) {
|
||||||
/*
|
/*
|
||||||
if(pattrib->psta)
|
if(pattrib->psta)
|
||||||
{
|
{
|
||||||
@ -1930,7 +1930,7 @@ u32 rtw_aes_decrypt(_adapter *padapter, u8 *precvframe)
|
|||||||
u32 res = _SUCCESS;
|
u32 res = _SUCCESS;
|
||||||
pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data;
|
pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data;
|
||||||
/* 4 start to encrypt each fragment */
|
/* 4 start to encrypt each fragment */
|
||||||
if ((prxattrib->encrypt == _AES_)) {
|
if (prxattrib->encrypt == _AES_) {
|
||||||
|
|
||||||
stainfo = rtw_get_stainfo(&padapter->stapriv , &prxattrib->ta[0]);
|
stainfo = rtw_get_stainfo(&padapter->stapriv , &prxattrib->ta[0]);
|
||||||
if (stainfo != NULL) {
|
if (stainfo != NULL) {
|
||||||
|
@ -600,7 +600,7 @@ void rtw_hal_turbo_edca(_adapter *adapter)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((pregpriv->wifi_spec == 1)) { /* || (pmlmeinfo->HT_enable == 0)) */
|
if (pregpriv->wifi_spec == 1) { /* || (pmlmeinfo->HT_enable == 0)) */
|
||||||
precvpriv->is_any_non_be_pkts = _FALSE;
|
precvpriv->is_any_non_be_pkts = _FALSE;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -180,7 +180,7 @@ void hal_mpt_CCKTxPowerAdjust(PADAPTER Adapter, BOOLEAN bInCH14)
|
|||||||
} else if (IS_HARDWARE_TYPE_8723D(Adapter)) {
|
} else if (IS_HARDWARE_TYPE_8723D(Adapter)) {
|
||||||
/* 2.4G CCK TX DFIR */
|
/* 2.4G CCK TX DFIR */
|
||||||
/* 2016.01.20 Suggest from RS BB mingzhi*/
|
/* 2016.01.20 Suggest from RS BB mingzhi*/
|
||||||
if ((u1Channel == 14)) {
|
if (u1Channel == 14) {
|
||||||
phy_set_bb_reg(Adapter, rCCK0_TxFilter2, bMaskDWord, 0x0000B81C);
|
phy_set_bb_reg(Adapter, rCCK0_TxFilter2, bMaskDWord, 0x0000B81C);
|
||||||
phy_set_bb_reg(Adapter, rCCK0_DebugPort, bMaskDWord, 0x00000000);
|
phy_set_bb_reg(Adapter, rCCK0_DebugPort, bMaskDWord, 0x00000000);
|
||||||
phy_set_bb_reg(Adapter, 0xAAC, bMaskDWord, 0x00003667);
|
phy_set_bb_reg(Adapter, 0xAAC, bMaskDWord, 0x00003667);
|
||||||
|
Loading…
Reference in New Issue
Block a user