From 099e6e8d6ae35c5700501c06ecb1989d90448b9b Mon Sep 17 00:00:00 2001 From: Ganesh Kondabattini Date: Wed, 28 Jun 2017 12:24:20 +0530 Subject: [PATCH] qcacld-3.0: update attribute validation policy Update attribute validation policy for QCA_WLAN_VENDOR_ATTR_SAP_MANDATORY_FREQUENCY_LIST vendor attribute CRs-Fixed: 2069917 Change-Id: Iea67767d9dc324f4cf87cc0838c7f34a6e47d75c --- core/hdd/src/wlan_hdd_cfg80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 9b69cb66d587..70fd62810fca 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -8557,6 +8557,8 @@ release_intf_addr_and_return_failure: static const struct nla_policy wlan_hdd_sap_config_policy[QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_MAX + 1] = { [QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_CHANNEL] = {.type = NLA_U8 }, + [QCA_WLAN_VENDOR_ATTR_SAP_MANDATORY_FREQUENCY_LIST] = { + .type = NLA_NESTED }, }; static const struct nla_policy