aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/hal/odm.c
diff options
context:
space:
mode:
authornavin patidar <navin.patidar@gmail.com>2014-09-20 19:55:47 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-23 23:47:12 -0700
commit6f1b7df41526538d544b108c1d7ceca79963abe4 (patch)
tree556124cde1ba5b6146d265e4e017775db17a7f5a /drivers/staging/rtl8188eu/hal/odm.c
parentstaging: vt6655: device_get_options remove unused variable devname (diff)
downloadlinux-dev-6f1b7df41526538d544b108c1d7ceca79963abe4.tar.xz
linux-dev-6f1b7df41526538d544b108c1d7ceca79963abe4.zip
staging: rtl8188eu: Remove odm_debug.c
Move a function and global variable from odm_debug.c to odm.c Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal/odm.c')
-rw-r--r--drivers/staging/rtl8188eu/hal/odm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index 3a929bf32240..ae983796fd63 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -23,6 +23,7 @@
#include "odm_precomp.h"
#include "phy.h"
+u32 GlobalDebugLevel;
static const u16 dB_Invert_Table[8][12] = {
{1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4},
{4, 5, 6, 6, 7, 8, 9, 10, 11, 13, 14, 16},
@@ -172,6 +173,13 @@ u8 CCKSwingTable_Ch14[CCK_TABLE_SIZE][8] = {
#define RxDefaultAnt1 0x65a9
#define RxDefaultAnt2 0x569a
+void ODM_InitDebugSetting(struct odm_dm_struct *pDM_Odm)
+{
+ pDM_Odm->DebugLevel = ODM_DBG_TRACE;
+
+ pDM_Odm->DebugComponents = 0;
+}
+
/* 3 Export Interface */
/* 2011/09/21 MH Add to describe different team necessary resource allocate?? */