]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: rtl8723bs: fix bitwise OR operator spacing
authorJose A. Perez de Azpillaga <azpijr@gmail.com>
Mon, 2 Mar 2026 21:51:54 +0000 (22:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2026 16:46:44 +0000 (17:46 +0100)
Fix spaces between bitwise OR operations rtw_action_frame_parse() for
better readability.

Signed-off-by: Jose A. Perez de Azpillaga <azpijr@gmail.com>
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260302215208.67045-1-azpijr@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_ieee80211.c

index a657c963ff52c50aa64445ec0b7cc28fe537c52c..72b7f731dd471022306a690776eccd96e21598ba 100644 (file)
@@ -1123,11 +1123,9 @@ int rtw_action_frame_parse(const u8 *frame, u32 frame_len, u8 *category, u8 *act
 
        fc = le16_to_cpu(((struct ieee80211_hdr_3addr *)frame)->frame_control);
 
-       if ((fc & (IEEE80211_FCTL_FTYPE|IEEE80211_FCTL_STYPE))
-               != (IEEE80211_FTYPE_MGMT|IEEE80211_STYPE_ACTION)
-       ) {
+       if ((fc & (IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) !=
+           (IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_ACTION))
                return false;
-       }
 
        c = frame_body[0];