summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2020-06-10 23:16:48 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2020-06-10 23:16:48 -0700
commitce0bbf48922ab029fa97826ba5525934e94e9b97 (patch)
tree7e638e9137358106d6e3237938ba267fc5afb6cd
parent628e48876ef12321be95ac6cf68ba9ae76679ce6 (diff)
parent04ec53e8addca60eb0bf6ea55abfa11dff25be88 (diff)
Merge "ath10k: Fix compilation issue"
-rw-r--r--drivers/net/wireless/ath/ath10k/wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c
index 7b8f9dd664ad..045a27eef176 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.c
+++ b/drivers/net/wireless/ath/ath10k/wmi.c
@@ -6048,7 +6048,7 @@ static struct sk_buff *ath10k_wmi_10_4_op_gen_init(struct ath10k *ar)
int ath10k_wmi_start_scan_verify(const struct wmi_start_scan_arg *arg)
{
- if (arg->ie_len && !arg->ie)
+ if (arg->ie_len)
return -EINVAL;
if (arg->n_channels && !arg->channels)
return -EINVAL;