mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
qcacmn: Add 11d offload APIs under correct feature flag
Currently host driver defines 11d offload APIs under HOST_11D_SCAN feature flag which is not correct. Add 11d offload APIs under TARGET_11D_SCAN feature flag. Change-Id: I0d3205b215c9fc363a71c4e7a6b54e40fb10a964 CRs-Fixed: 3387603
This commit is contained in:
parent
b63e48a42a
commit
a4166727b9
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
|
|
@ -32,7 +33,7 @@
|
|||
#include "wmi_unified_api.h"
|
||||
#include "wmi_unified_reg_api.h"
|
||||
|
||||
#ifdef HOST_11D_SCAN
|
||||
#ifdef TARGET_11D_SCAN
|
||||
/**
|
||||
* tgt_if_regulatory_is_11d_offloaded() - Check if reg 11d is offloaded.
|
||||
* @psoc: psoc pointer
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
|
|
@ -24,7 +25,7 @@
|
|||
|
||||
#include "target_if_reg_11d.h"
|
||||
|
||||
#ifdef HOST_11D_SCAN
|
||||
#ifdef TARGET_11D_SCAN
|
||||
bool tgt_if_regulatory_is_11d_offloaded(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
wmi_unified_t wmi_handle = get_wmi_unified_hdl_from_psoc(psoc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue