mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-25 01:21:34 +00:00
Fix: extraneous parentheses
This commit is contained in:
parent
16223935bb
commit
96ec215d23
@ -388,7 +388,7 @@ void rtw_mfree_stainfo(struct sta_info *psta);
|
|||||||
void rtw_mfree_stainfo(struct sta_info *psta)
|
void rtw_mfree_stainfo(struct sta_info *psta)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (&psta->lock != NULL)
|
if (&(psta->lock) != NULL)
|
||||||
_rtw_spinlock_free(&psta->lock);
|
_rtw_spinlock_free(&psta->lock);
|
||||||
|
|
||||||
_rtw_free_sta_xmit_priv_lock(&psta->sta_xmitpriv);
|
_rtw_free_sta_xmit_priv_lock(&psta->sta_xmitpriv);
|
||||||
|
@ -639,7 +639,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);
|
||||||
|
@ -3070,7 +3070,7 @@ int rtw_mp_link(struct net_device *dev,
|
|||||||
/* tmp[0],[1],[2] */
|
/* tmp[0],[1],[2] */
|
||||||
/* txdata,00e04c871200........... */
|
/* txdata,00e04c871200........... */
|
||||||
if (strcmp(tmp[0], "txdata") == 0) {
|
if (strcmp(tmp[0], "txdata") == 0) {
|
||||||
if ((tmp[1] == NULL)) {
|
if (tmp[1] == NULL) {
|
||||||
err = -EINVAL;
|
err = -EINVAL;
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user