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

Commit 083e8657 authored by Ahmad Masri's avatar Ahmad Masri Committed by Alexei Avshalom Lazar
Browse files

wil6210: fix vendor command policy for vendor unspec commands



change the policy field in the vendor commands for
QCA_NL80211_VENDOR_SUBCMD_UNSPEC to be VENDOR_CMD_RAW_DATA.

This is a workaround for kernel 5.4 policy checks.
A complete solution for all vendor command policies will be submitted
later.

Change-Id: I889c86984a4835fed9bd96d487641fc5f4081faf
Signed-off-by: default avatarAhmad Masri <amasri@codeaurora.org>
parent 1c04a7bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -452,7 +452,7 @@ static const struct wiphy_vendor_command wil_nl80211_vendor_commands[] = {
		.info.subcmd = QCA_NL80211_VENDOR_SUBCMD_UNSPEC,
		.flags = WIPHY_VENDOR_CMD_NEED_WDEV |
			 WIPHY_VENDOR_CMD_NEED_NETDEV,
		.policy = wil_nl_60g_policy,
		.policy = VENDOR_CMD_RAW_DATA,
		.doit = wil_nl_60g_handle_cmd
	},
};