Skip to content

Commit 9aa392c

Browse files
ethereal-2kgregkh
authored andcommitted
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>
1 parent c318aef commit 9aa392c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/staging/rtl8723bs/core/rtw_ap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,7 @@ static void update_bcn_wps_ie(struct adapter *padapter)
14451445
wps_ielen = (uint)pwps_ie_src[1];/* to get ie data len */
14461446
if ((wps_offset + wps_ielen + 2 + remainder_ielen) <= MAX_IE_SZ) {
14471447
memcpy(pwps_ie, pwps_ie_src, wps_ielen + 2);
1448-
pwps_ie += (wps_ielen+2);
1448+
pwps_ie += (wps_ielen + 2);
14491449

14501450
if (pbackup_remainder_ie)
14511451
memcpy(pwps_ie, pbackup_remainder_ie, remainder_ielen);

0 commit comments

Comments
 (0)