From a0c1ca77519b037c1bf77e3b16fa57e1e51bd4c2 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 18 Mar 2018 14:52:03 -0700 Subject: [PATCH] qcacld-3.0: Use roam profile accessor in wlan_hdd_power.c Update wlan_hdd_power.c to use the recently introduced roam profile accessor function hdd_roam_profile(). Change-Id: I1d7be21fa5bec21f9502e7c078360d72fc426a6d CRs-Fixed: 2207894 --- core/hdd/src/wlan_hdd_power.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/hdd/src/wlan_hdd_power.c b/core/hdd/src/wlan_hdd_power.c index bcffcf9a2151..51fe7a1059d9 100644 --- a/core/hdd/src/wlan_hdd_power.c +++ b/core/hdd/src/wlan_hdd_power.c @@ -729,7 +729,6 @@ static void __hdd_ipv4_notifier_work_queue(struct work_struct *work) struct hdd_context *hdd_ctx; struct hdd_adapter *adapter; int errno; - struct hdd_wext_state *wext_state; struct csr_roam_profile *roam_profile; struct in_ifaddr *ifa; @@ -752,8 +751,7 @@ static void __hdd_ipv4_notifier_work_queue(struct work_struct *work) hdd_debug("FILS Roaming support: %d", hdd_ctx->is_fils_roaming_supported); - wext_state = WLAN_HDD_GET_WEXT_STATE_PTR(adapter); - roam_profile = &wext_state->roamProfile; + roam_profile = hdd_roam_profile(adapter); ifa = hdd_lookup_ifaddr(adapter); if (ifa && hdd_ctx->is_fils_roaming_supported)