summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/hdd/src/wlan_hdd_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c
index 7ded4a8104b3..e37eb7261942 100644
--- a/core/hdd/src/wlan_hdd_main.c
+++ b/core/hdd/src/wlan_hdd_main.c
@@ -8134,7 +8134,7 @@ void wlan_hdd_send_svc_nlink_msg(int radio, int type, void *data, int len)
#ifdef FEATURE_WLAN_AUTO_SHUTDOWN
void wlan_hdd_auto_shutdown_cb(void)
{
- hdd_context_t *hdd_ctx = cdf_get_global_context();
+ hdd_context_t *hdd_ctx = cds_get_global_context();
if (!hdd_ctx)
return;