mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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
This commit is contained in:
parent
e3b027f5a1
commit
caa45efa73
1 changed files with 4 additions and 3 deletions
|
|
@ -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 |=
|
||||
|
|
|
|||
Loading…
Reference in a new issue