kernel: hwmon: add dme1737 driver
[openwrt/openwrt.git] / package / kernel / mwlwifi / patches / 001-vendor_command_policy.patch
1 mac80211 from kernel 5.3 and later checks the new policy attribute.
2
3 --- a/vendor_cmd.c
4 +++ b/vendor_cmd.c
5 @@ -92,12 +92,14 @@ static const struct wiphy_vendor_command
6 .subcmd = MWL_VENDOR_CMD_SET_BF_TYPE},
7 .flags = WIPHY_VENDOR_CMD_NEED_NETDEV,
8 .doit = mwl_vendor_cmd_set_bf_type,
9 + .policy = mwl_vendor_attr_policy,
10 },
11 {
12 .info = { .vendor_id = MRVL_OUI,
13 .subcmd = MWL_VENDOR_CMD_GET_BF_TYPE},
14 .flags = WIPHY_VENDOR_CMD_NEED_NETDEV,
15 .doit = mwl_vendor_cmd_get_bf_type,
16 + .policy = mwl_vendor_attr_policy,
17 }
18 };
19