Browse Source

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
Ganesh Kondabattini 7 years ago
parent
commit
099e6e8d6a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/hdd/src/wlan_hdd_cfg80211.c

+ 2 - 0
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