From 640a4db708f5b3eb878c495863cb2fb57693ea04 Mon Sep 17 00:00:00 2001 From: Jules Irenge Date: Sat, 19 Oct 2019 15:07:17 +0100 Subject: [PATCH] staging: wfx: fix warnings of logical continuation Fix check warnings of logical continuations should be on the previous line. Issue detected by checkpatch tool. Signed-off-by: Jules Irenge Link: https://lore.kernel.org/r/20191019140719.2542-4-jbi.octave@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wfx/data_rx.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/wfx/data_rx.c b/drivers/staging/wfx/data_rx.c index 522592d71aac..52fb0f255dcd 100644 --- a/drivers/staging/wfx/data_rx.c +++ b/drivers/staging/wfx/data_rx.c @@ -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); -- 2.11.0