staging: rtl8723bs: fix bitwise OR operator spacing
PATCH v2 1/1 staging: rtl8723bs: fix bitwise OR operator spacing
Fix spaces between bitwise OR operations rtw_action_frame_parse() for better readability.
Signed-off-by Jose A. Perez de Azpillaga <[email protected]>
---
v2:
- Remove curly braces for single-line statement
- Move != operator to the end of the first line
drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/staging/rtl8723bs/core/rtw_ieee80211.c +2 -4
@@ -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 ];
--
2.53.0
Quoted 8 lines · Jose A. Perez de Azpillaga
Fix spaces between bitwise OR operations
rtw_action_frame_parse()for better readability.Signed-off-by Jose A. Perez de Azpillaga <[email protected]>---
v2:
- Remove curly braces for single-line statement
- Move!=operator to the end of the first line
LGTM.
Reviewed-by Ethan Tidmore <[email protected]>
Thanks,
ET