]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: Fix logical continuation placement
authorMariyam Shahid <mariyam.shahid135@gmail.com>
Fri, 27 Feb 2026 07:19:41 +0000 (12:19 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2026 16:28:39 +0000 (17:28 +0100)
Move logical operators to the end of the previous line
to fix checkpatch warnings.

Signed-off-by: Mariyam Shahid <mariyam.shahid135@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/20260227071942.6328-1-mariyam.shahid135@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_ap.c

index 3e62fc8f61cfee0600ae68c3e11a51f483f06a8c..9c10d5441632d251da1b22e4d259b9606aa0454b 100644 (file)
@@ -1573,8 +1573,8 @@ static int rtw_ht_operation_update(struct adapter *padapter)
        if (pmlmepriv->htpriv.ht_option)
                return 0;
 
-       if (!(pmlmepriv->ht_op_mode & IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT)
-           && pmlmepriv->num_sta_ht_no_gf) {
+       if (!(pmlmepriv->ht_op_mode & IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT) &&
+           pmlmepriv->num_sta_ht_no_gf) {
                pmlmepriv->ht_op_mode |=
                        IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT;
                op_mode_changes++;
@@ -1780,8 +1780,8 @@ u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta)
        if (psta->no_short_preamble_set) {
                psta->no_short_preamble_set = 0;
                pmlmepriv->num_sta_no_short_preamble--;
-               if (pmlmeext->cur_wireless_mode > WIRELESS_11B
-                   && pmlmepriv->num_sta_no_short_preamble == 0){
+               if (pmlmeext->cur_wireless_mode > WIRELESS_11B &&
+                   pmlmepriv->num_sta_no_short_preamble == 0){
                        beacon_updated = true;
                        update_beacon(padapter, 0xFF, NULL, true);
                }
@@ -1799,8 +1799,8 @@ u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta)
        if (psta->no_short_slot_time_set) {
                psta->no_short_slot_time_set = 0;
                pmlmepriv->num_sta_no_short_slot_time--;
-               if (pmlmeext->cur_wireless_mode > WIRELESS_11B
-                   && pmlmepriv->num_sta_no_short_slot_time == 0){
+               if (pmlmeext->cur_wireless_mode > WIRELESS_11B &&
+                   pmlmepriv->num_sta_no_short_slot_time == 0){
                        beacon_updated = true;
                        update_beacon(padapter, 0xFF, NULL, true);
                }