summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinke Wu <coolbeaner@126.com>2026-07-08 23:09:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-10 16:49:03 +0200
commitb66bd90b8d8f018eca9f526fa798ed3661408171 (patch)
tree0adb120d0df84226518e69231bc45dc7b504d0b4
parent464794c0232c8ffe445f775aae5a67ee3e2431c0 (diff)
staging: rtl8723bs: remove unnecessary parentheses in issue_asocrsp
Remove unnecessary parentheses from the pattrib->pktlen address expression in issue_asocrsp() to clean up the code and adhere to kernel coding standards. No functional change. Signed-off-by: Jinke Wu <coolbeaner@126.com> Link: https://patch.msgid.link/20260708150928.74065-5-coolbeaner@126.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/core/rtw_mlme_ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
index 5ea42f054249..ba84b933e25c 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
@@ -2704,7 +2704,7 @@ void issue_asocrsp(struct adapter *padapter, unsigned short status, struct sta_i
} else {
pframe = rtw_set_ie(pframe, WLAN_EID_SUPP_RATES, 8, pstat->bssrateset, &(pattrib->pktlen));
pframe = rtw_set_ie(pframe, WLAN_EID_EXT_SUPP_RATES, (pstat->bssratelen - 8),
- pstat->bssrateset + 8, &(pattrib->pktlen));
+ pstat->bssrateset + 8, &pattrib->pktlen);
}
if ((pstat->flags & WLAN_STA_HT) && (pmlmepriv->htpriv.ht_option)) {