summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohan Tripathi <trohan2000@gmail.com>2025-10-07 05:13:02 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-13 09:09:28 +0200
commit9aa392c25d1cd4013449264fd0c9aa3d86b91a1f (patch)
treeb9c7e1ef718eb862c943819fd6fed3e466cd51a0
parentc318aef7f32678471c88ab528fd02b6f3f845280 (diff)
staging: rtl8723bs: add spaces around '+' operator in rtw_ap.c
This patch fixes instances where the '+' operator was used without surrounding spaces. Kernel coding style requires spaces around binary operators to improve readability. This is a coding style cleanup only. No functional changes. Signed-off-by: Rohan Tripathi <trohan2000@gmail.com> Link: https://lore.kernel.org/r/20251007091303.491115-5-trohan2000@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/core/rtw_ap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c
index 4cd9b7a74313..121b9db76711 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ap.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ap.c
@@ -1445,7 +1445,7 @@ static void update_bcn_wps_ie(struct adapter *padapter)
wps_ielen = (uint)pwps_ie_src[1];/* to get ie data len */
if ((wps_offset + wps_ielen + 2 + remainder_ielen) <= MAX_IE_SZ) {
memcpy(pwps_ie, pwps_ie_src, wps_ielen + 2);
- pwps_ie += (wps_ielen+2);
+ pwps_ie += (wps_ielen + 2);
if (pbackup_remainder_ie)
memcpy(pwps_ie, pbackup_remainder_ie, remainder_ielen);