From caa45efa73e82674c0ef67126f9062b368565f10 Mon Sep 17 00:00:00 2001 From: lifeng Date: Thu, 10 Jan 2019 10:42:10 +0800 Subject: [PATCH] qcacld-3.0: Fix implicit declaration building error Fix implicit declaration building error when kenel version is not great than 4.4. Change-Id: I1155641911de9dce3e758d753183fc1a0e161cc4 CRs-Fixed: 2380299 --- core/hdd/src/wlan_hdd_regulatory.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/hdd/src/wlan_hdd_regulatory.c b/core/hdd/src/wlan_hdd_regulatory.c index 2c2f16d92a41..23b3879ef3f4 100644 --- a/core/hdd/src/wlan_hdd_regulatory.c +++ b/core/hdd/src/wlan_hdd_regulatory.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2019 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -495,8 +495,9 @@ static void hdd_process_regulatory_data(struct hdd_context *hdd_ctx, cds_chan->chan_flags |= REGULATORY_CHAN_INDOOR_ONLY; - ucfg_mlme_get_indoor_chan_enabled(hdd_ctx->psoc, - &indoor); + ucfg_mlme_get_indoor_channel_support( + hdd_ctx->psoc, + &indoor); if (!indoor) { cds_chan->state = CHANNEL_STATE_DFS; wiphy_chan->flags |=