qcacld-3.0: remove dependency of public files from wlan_objmgr_psoc_obj.h

Remove dependency of wlan_lmac_if_def headerfiles from
wlan_objmgr_psoc_obj.h

Change-Id: I5f6120a97be3ae6835023ceaef455088820809de
CRs-Fixed: 2657771
This commit is contained in:
Abhishek Singh 2020-04-06 15:06:57 +05:30 • committed by nshrivas
commit 2281c2d6bb
9 changed files with 15 additions and 28 deletions

View file

@ -30,6 +30,7 @@
#include <qdf_lock.h>
#include <qdf_idr.h>
#include <qdf_mc_timer.h>
#include <wlan_scan_public_structs.h>
#define MAX_QUEUE_LENGTH 20
#define P2P_NOA_ATTR_IND 0x1090

View file

@ -46,7 +46,7 @@
static inline struct wlan_lmac_if_p2p_tx_ops *
p2p_psoc_get_tx_ops(struct wlan_objmgr_psoc *psoc)
{
return &psoc->soc_cb.tx_ops.p2p;
return &psoc->soc_cb.tx_ops->p2p;
}
/**

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2020 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
@ -40,7 +40,7 @@
static inline struct wlan_lmac_if_p2p_tx_ops *
wlan_psoc_get_p2p_tx_ops(struct wlan_objmgr_psoc *psoc)
{
return &(psoc->soc_cb.tx_ops.p2p);
return &(psoc->soc_cb.tx_ops->p2p);
}
#ifdef FEATURE_P2P_LISTEN_OFFLOAD

View file

@ -33,7 +33,7 @@
static inline struct wlan_lmac_if_p2p_tx_ops *
ucfg_p2p_psoc_get_tx_ops(struct wlan_objmgr_psoc *psoc)
{
return &(psoc->soc_cb.tx_ops.p2p);
return &(psoc->soc_cb.tx_ops->p2p);
}
/**