Blame SOURCES/0001-Revert-netlink-make-validation-more-configurable-for.patch
|
|
deb259 |
From 7ebbaa13b06672b7a2b20292d11bb57218f3c9d1 Mon Sep 17 00:00:00 2001
|
|
|
deb259 |
From: Eugene Syromiatnikov <esyr@redhat.com>
|
|
|
deb259 |
Date: Thu, 11 Jul 2019 18:31:34 +0200
|
|
|
deb259 |
Subject: [PATCH] Revert "netlink: make validation more configurable for future
|
|
|
deb259 |
strictness"
|
|
|
deb259 |
|
|
|
deb259 |
---
|
|
|
deb259 |
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 4 ++--
|
|
|
deb259 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
deb259 |
|
|
|
deb259 |
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
|
|
|
deb259 |
index 44e87a41d244..6e00161fdb92 100644
|
|
|
deb259 |
--- a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
|
|
|
deb259 |
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
|
|
|
deb259 |
@@ -4470,8 +4470,8 @@ static int __iwl_mvm_mac_testmode_cmd(struct iwl_mvm *mvm,
|
|
|
deb259 |
int err;
|
|
|
deb259 |
u32 noa_duration;
|
|
|
deb259 |
|
|
|
deb259 |
- err = nla_parse_deprecated(tb, IWL_MVM_TM_ATTR_MAX, data, len,
|
|
|
deb259 |
- iwl_mvm_tm_policy, NULL);
|
|
|
deb259 |
+ err = nla_parse(tb, IWL_MVM_TM_ATTR_MAX, data, len, iwl_mvm_tm_policy,
|
|
|
deb259 |
+ NULL);
|
|
|
deb259 |
if (err)
|
|
|
deb259 |
return err;
|
|
|
deb259 |
|
|
|
deb259 |
--
|
|
|
deb259 |
2.13.6
|
|
|
deb259 |
|