]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: add spaces around '+' operator in rtw_ap.c
authorRohan Tripathi <trohan2000@gmail.com>
Tue, 7 Oct 2025 09:13:02 +0000 (05:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Oct 2025 07:09:28 +0000 (09:09 +0200)
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>
drivers/staging/rtl8723bs/core/rtw_ap.c

index 4cd9b7a7431364c1bfe726582fb29cc52d47b4c3..121b9db7671110e52b2bef4f014db32cbf367879 100644 (file)
@@ -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);