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
This commit is contained in:
Jeff Johnson 2018-03-18 14:52:03 -07:00 • committed by Nitesh Shrivastav
commit a0c1ca7751

View file

@ -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)