mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2026-01-19 10:26:35 +00:00
Fix: remove extraneous parentheses
This commit is contained in:
@@ -1575,7 +1575,7 @@ u32 rtw_aes_encrypt(_adapter *padapter, u8 *pxmitframe)
|
||||
pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset;
|
||||
|
||||
/* 4 start to encrypt each fragment */
|
||||
if ((pattrib->encrypt == _AES_)) {
|
||||
if (pattrib->encrypt == _AES_) {
|
||||
/*
|
||||
if(pattrib->psta)
|
||||
{
|
||||
@@ -1930,7 +1930,7 @@ u32 rtw_aes_decrypt(_adapter *padapter, u8 *precvframe)
|
||||
u32 res = _SUCCESS;
|
||||
pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data;
|
||||
/* 4 start to encrypt each fragment */
|
||||
if ((prxattrib->encrypt == _AES_)) {
|
||||
if (prxattrib->encrypt == _AES_) {
|
||||
|
||||
stainfo = rtw_get_stainfo(&padapter->stapriv , &prxattrib->ta[0]);
|
||||
if (stainfo != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user