Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04ec53e8 authored by Swetha Chikkaboraiah's avatar Swetha Chikkaboraiah Committed by Gerrit - the friendly Code Review server
Browse files

ath10k: Fix compilation issue



Fix below compilation error with clang
warning: address of array 'arg->ie' will always evaluate
to 'true' [-Wpointer-bool-conversion].

Change-Id: I83b3f584813720ded1c9c986f9aeaa3db1d71fcf
Signed-off-by: default avatarSwetha Chikkaboraiah <schikk@codeaurora.org>
parent 5600f37a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;