qcacld-3.0: Remove hdd_nla_parse* wrappers
Instead of maintaining two sets of nla_parse wrappers, update HDD to
reference the nla_parse wrappers defined in the wlan_cfg80211 component.
Change-Id: Ic0701f47fbc524fcaea623934f447142d39a5b77
CRs-Fixed: 2168630
diff --git a/core/hdd/src/wlan_hdd_nan_datapath.c b/core/hdd/src/wlan_hdd_nan_datapath.c
index 89c5033..8653770 100644
--- a/core/hdd/src/wlan_hdd_nan_datapath.c
+++ b/core/hdd/src/wlan_hdd_nan_datapath.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -1997,8 +1997,9 @@
hdd_err("NAN datapath is not enabled");
return -EPERM;
}
- if (hdd_nla_parse(tb, QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX,
- data, data_len, qca_wlan_vendor_ndp_policy)) {
+ if (wlan_cfg80211_nla_parse(tb, QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX,
+ data, data_len,
+ qca_wlan_vendor_ndp_policy)) {
hdd_err("Invalid NDP vendor command attributes");
return -EINVAL;
}