qcacmn: Featurize EPPING Feature
Featurize EPPING Feature to compile out in mission mode. Change-Id: Iecbab88961034a5e5d2ab73b5b577e52cdb17873 CRs-Fixed: 2198847
Este cometimento está contido em:

cometido por
nshrivas

ascendente
697449805e
cometimento
0d0cce8057
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -42,8 +42,23 @@
|
||||
#include <qdf_types.h>
|
||||
|
||||
/* epping_main signatures */
|
||||
#ifdef WLAN_FEATURE_EPPING
|
||||
int epping_open(void);
|
||||
void epping_close(void);
|
||||
void epping_disable(void);
|
||||
int epping_enable(struct device *parent_dev);
|
||||
#else
|
||||
static inline int epping_open(void)
|
||||
{
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
static inline int epping_enable(struct device *parent_dev)
|
||||
{
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
static inline void epping_close(void) {}
|
||||
static inline void epping_disable(void) {}
|
||||
#endif
|
||||
#endif /* end #ifndef EPPING_MAIN_H */
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -73,6 +73,7 @@
|
||||
#define WLAN_WAIT_TIME_WLANSTART 2000
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_EPPING
|
||||
static struct epping_context *g_epping_ctx;
|
||||
|
||||
/**
|
||||
@@ -352,3 +353,4 @@ error_end:
|
||||
bmi_cleanup(ol_ctx);
|
||||
return A_ERROR;
|
||||
}
|
||||
#endif
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador