From 98036f90d150e8b9bf2a4ebc3a4eb692cac41f79 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Sat, 23 Nov 2019 20:07:21 +0800 Subject: [PATCH] mwlwifi: bump to new version --- package/kernel/mwlwifi/Makefile | 2 +- .../patches/001-vendor_command_policy.patch | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 package/kernel/mwlwifi/patches/001-vendor_command_policy.patch diff --git a/package/kernel/mwlwifi/Makefile b/package/kernel/mwlwifi/Makefile index 642d800836..233570feb2 100644 --- a/package/kernel/mwlwifi/Makefile +++ b/package/kernel/mwlwifi/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mwlwifi -PKG_RELEASE=1 +PKG_RELEASE=3 PKG_LICENSE:=ISC PKG_LICENSE_FILES:= diff --git a/package/kernel/mwlwifi/patches/001-vendor_command_policy.patch b/package/kernel/mwlwifi/patches/001-vendor_command_policy.patch new file mode 100644 index 0000000000..1f06d55fc8 --- /dev/null +++ b/package/kernel/mwlwifi/patches/001-vendor_command_policy.patch @@ -0,0 +1,19 @@ +mac80211 from kernel 5.3 and later checks the new policy attribute. + +--- a/vendor_cmd.c ++++ b/vendor_cmd.c +@@ -92,12 +92,14 @@ static const struct wiphy_vendor_command + .subcmd = MWL_VENDOR_CMD_SET_BF_TYPE}, + .flags = WIPHY_VENDOR_CMD_NEED_NETDEV, + .doit = mwl_vendor_cmd_set_bf_type, ++ .policy = mwl_vendor_attr_policy, + }, + { + .info = { .vendor_id = MRVL_OUI, + .subcmd = MWL_VENDOR_CMD_GET_BF_TYPE}, + .flags = WIPHY_VENDOR_CMD_NEED_NETDEV, + .doit = mwl_vendor_cmd_get_bf_type, ++ .policy = mwl_vendor_attr_policy, + } + }; +