Browse Source

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
lifeng 6 years ago
parent
commit
caa45efa73
1 changed files with 4 additions and 3 deletions
  1. 4 3
      core/hdd/src/wlan_hdd_regulatory.c

+ 4 - 3
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 |=