Commit 640a4db7 authored by Jules Irenge's avatar Jules Irenge Committed by Greg Kroah-Hartman

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: default avatarJules Irenge <jbi.octave@gmail.com>
Link: https://lore.kernel.org/r/20191019140719.2542-4-jbi.octave@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1dc3d53e
...@@ -163,13 +163,13 @@ void wfx_rx_cb(struct wfx_vif *wvif, struct hif_ind_rx *arg, ...@@ -163,13 +163,13 @@ void wfx_rx_cb(struct wfx_vif *wvif, struct hif_ind_rx *arg,
} }
/* Filter block ACK negotiation: fully controlled by firmware */ /* Filter block ACK negotiation: fully controlled by firmware */
if (ieee80211_is_action(frame->frame_control) if (ieee80211_is_action(frame->frame_control) &&
&& arg->rx_flags.match_uc_addr arg->rx_flags.match_uc_addr &&
&& mgmt->u.action.category == WLAN_CATEGORY_BACK) mgmt->u.action.category == WLAN_CATEGORY_BACK)
goto drop; goto drop;
if (ieee80211_is_beacon(frame->frame_control) if (ieee80211_is_beacon(frame->frame_control) &&
&& !arg->status && wvif->vif !arg->status && wvif->vif &&
&& ether_addr_equal(ieee80211_get_SA(frame), ether_addr_equal(ieee80211_get_SA(frame),
wvif->vif->bss_conf.bssid)) { wvif->vif->bss_conf.bssid)) {
const u8 *tim_ie; const u8 *tim_ie;
u8 *ies = mgmt->u.beacon.variable; u8 *ies = mgmt->u.beacon.variable;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment