qcacld-3.0: Add support for arp/ns offload in PMO component
Add support for arp/ns offload in PMO component
Change-Id: I823ba0a426cce5a5717cf2b693b49c8f8a2f7a29
CRs-Fixed: 2002639
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c
index 18663bb..bfc4c15 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -5720,7 +5720,10 @@
nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ND_OFFLOAD_FLAG]);
/* update ns offload in case it is already enabled/disabled */
- hdd_conf_ns_offload(adapter, pHddCtx->ns_offload_enable);
+ if (pHddCtx->ns_offload_enable)
+ hdd_enable_ns_offload(adapter, pmo_ns_offload_dynamic_update);
+ else
+ hdd_disable_ns_offload(adapter, pmo_ns_offload_dynamic_update);
return 0;
}