staging: wfx: fix warnings of logical continuation
authorJules Irenge <jbi.octave@gmail.com>
Sat, 19 Oct 2019 14:07:17 +0000 (15:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Oct 2019 18:43:46 +0000 (20:43 +0200)
Fix check warnings of logical continuations
should be on the previous line.
Issue detected by checkpatch tool.

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Link: https://lore.kernel.org/r/20191019140719.2542-4-jbi.octave@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/data_rx.c

index 522592d71aac7779842b981c2f3474a0830948cb..52fb0f255dcd281e0678a8c16fa3a2ff64ca71da 100644 (file)
@@ -163,14 +163,14 @@ void wfx_rx_cb(struct wfx_vif *wvif, struct hif_ind_rx *arg,
        }
 
        /* Filter block ACK negotiation: fully controlled by firmware */
-       if (ieee80211_is_action(frame->frame_control)
-           && arg->rx_flags.match_uc_addr
-           && mgmt->u.action.category == WLAN_CATEGORY_BACK)
+       if (ieee80211_is_action(frame->frame_control) &&
+           arg->rx_flags.match_uc_addr &&
+           mgmt->u.action.category == WLAN_CATEGORY_BACK)
                goto drop;
-       if (ieee80211_is_beacon(frame->frame_control)
-           && !arg->status && wvif->vif
-           && ether_addr_equal(ieee80211_get_SA(frame),
-                               wvif->vif->bss_conf.bssid)) {
+       if (ieee80211_is_beacon(frame->frame_control) &&
+           !arg->status && wvif->vif &&
+           ether_addr_equal(ieee80211_get_SA(frame),
+                            wvif->vif->bss_conf.bssid)) {
                const u8 *tim_ie;
                u8 *ies = mgmt->u.beacon.variable;
                size_t ies_len = skb->len - (ies - skb->data);