summaryrefslogtreecommitdiff
path: root/drivers/staging/wfx
diff options
context:
space:
mode:
authorJules Irenge <jbi.octave@gmail.com>2019-10-19 17:07:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-26 21:43:46 +0300
commit640a4db708f5b3eb878c495863cb2fb57693ea04 (patch)
tree2aca7d09df429fa548cf2f69c1afd36fbfd93922 /drivers/staging/wfx
parent1dc3d53ef39061a8cdf2245324e4f1769c4a360a (diff)
downloadlinux-640a4db708f5b3eb878c495863cb2fb57693ea04.tar.xz
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 <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>
Diffstat (limited to 'drivers/staging/wfx')
-rw-r--r--drivers/staging/wfx/data_rx.c14
1 files 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);