[qca-nss-drv] Fix compilation error for fsm9010
Fix compilation error for FSM9010 hal.
Change-Id: I39d0e788f33edec3b51af75b8d387ea6a45b729c
Signed-off-by: Arunkumar T <athand@codeaurora.org>
diff --git a/nss_hal/fsm9010/nss_hal_pvt.c b/nss_hal/fsm9010/nss_hal_pvt.c
index 77c77a4..6c99955 100644
--- a/nss_hal/fsm9010/nss_hal_pvt.c
+++ b/nss_hal/fsm9010/nss_hal_pvt.c
@@ -240,7 +240,7 @@
npd->crypto_enabled = of_property_read_bool(np, "qcom,crypto-enabled");
npd->l2switch_enabled = of_property_read_bool(np, "qcom,l2switch_enabled");
npd->ipsec_enabled = of_property_read_bool(np, "qcom,ipsec-enabled");
- npd->wlan_enabled = of_property_read_bool(np, "qcom,wlan-enabled");
+ npd->wlanredirect_enabled = of_property_read_bool(np, "qcom,wlan-enabled");
npd->tun6rd_enabled = of_property_read_bool(np, "qcom,tun6rd-enabled");
npd->tunipip6_enabled = of_property_read_bool(np, "qcom,tunipip6-enabled");
npd->shaping_enabled = of_property_read_bool(np, "qcom,shaping-enabled");
@@ -473,7 +473,7 @@
nss_ipsec_register_handler();
}
- if (npd->wlan_enabled == NSS_FEATURE_ENABLED) {
+ if (npd->wlanredirect_enabled == NSS_FEATURE_ENABLED) {
nss_top->wlan_handler_id = nss_dev->id;
}