mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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: Ahmad Masri <amasri@codeaurora.org>
This commit is contained in:
parent
1c04a7bb29
commit
083e86574e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue