mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: navin patidar <navin.patidar@gmail.com>
To: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	navin patidar <navin.patidar@gmail.com>
Subject: [PATCH 18/24] staging: rtl8188eu: Use ODM_REG_IGI_A_11N and ODM_BIT_IGI_11N in odm_DIGInit()
Date: Mon, 26 May 2014 21:35:33 +0530	[thread overview]
Message-ID: <1401120339-23667-18-git-send-email-navin.patidar@gmail.com> (raw)
In-Reply-To: <1401120339-23667-1-git-send-email-navin.patidar@gmail.com>

ODM_REG(IGI_A, pDM_Odm) and ODM_BIT(IGI, pDM_Odm) macros produce
ODM_REG_IGI_A_11N and ODM_BIT_IGI_11N respectively after preprocessing.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index 540527d..2bd68aa 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -531,7 +531,7 @@ void odm_DIGInit(struct odm_dm_struct *pDM_Odm)
 	struct adapter *adapter = pDM_Odm->Adapter;
 	struct rtw_dig *pDM_DigTable = &pDM_Odm->DM_DigTable;
 
-	pDM_DigTable->CurIGValue = (u8) PHY_QueryBBReg(adapter, ODM_REG(IGI_A, pDM_Odm), ODM_BIT(IGI, pDM_Odm));
+	pDM_DigTable->CurIGValue = (u8) PHY_QueryBBReg(adapter, ODM_REG_IGI_A_11N, ODM_BIT_IGI_11N);
 	pDM_DigTable->RssiLowThresh	= DM_DIG_THRESH_LOW;
 	pDM_DigTable->RssiHighThresh	= DM_DIG_THRESH_HIGH;
 	pDM_DigTable->FALowThresh	= DM_false_ALARM_THRESH_LOW;
-- 
1.7.10.4


  parent reply	other threads:[~2014-05-26 16:07 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-26 16:05 [PATCH 01/24] staging: rtl8188eu: Remove unused function rtw_interface_ps_func() navin patidar
2014-05-26 16:05 ` [PATCH 02/24] staging: rtl8188eu: Remove unused function rtw_hal_intf_ps_func() navin patidar
2014-05-26 16:05 ` [PATCH 03/24] staging: rtl8188eu: Remove unused function pointer ->interface_ps_func navin patidar
2014-05-26 16:05 ` [PATCH 04/24] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func() navin patidar
2014-05-26 16:05 ` [PATCH 05/24] staging: rtl8188eu: Remove unused function ODM_MacStatusQuery() navin patidar
2014-05-26 16:05 ` [PATCH 06/24] staging: rtl8188eu: Remove unused function odm_Init_RSSIForDM() navin patidar
2014-05-26 16:05 ` [PATCH 07/24] staging: rtl8188eu: Remove function with empty defination dm_CheckStatistics() navin patidar
2014-05-26 16:05 ` [PATCH 08/24] staging: rtl8188eu: Remove function rtw_hal_dm_deinit() navin patidar
2014-05-26 16:05 ` [PATCH 09/24] staging: rtl8188eu: Remove unused function pointer ->dm_init navin patidar
2014-05-26 16:05 ` [PATCH 10/24] staging: rtl8188eu: Remove unused function rtl8188e_deinit_dm_priv() navin patidar
2014-05-26 16:05 ` [PATCH 11/24] staging: rtl8188eu: remove unused header inclusion from rtw_mp.c navin patidar
2014-05-26 16:05 ` [PATCH 12/24] staging: rtl8188eu: Remove unused macros and enum defined in odm_types.h navin patidar
2014-05-26 16:05 ` [PATCH 13/24] staging: rtl8188eu: Remove unused structure "rtl8192cd_priv" navin patidar
2014-05-26 16:05 ` [PATCH 14/24] staging: rtl8188eu: Remove unused macros in odm_interface.h navin patidar
2014-05-26 16:05 ` [PATCH 15/24] staging: rtl8188eu: Remove unused function pointer declaration navin patidar
2014-05-26 16:05 ` [PATCH 16/24] staging: rtl8188eu: Remove unused function declaration navin patidar
2014-05-26 16:05 ` [PATCH 17/24] staging: rtl8188eu: Use "ODM_REG_CCK_CCA_11N" in ODM_Write_CCK_CCA_Thres() navin patidar
2014-05-26 16:05 ` navin patidar [this message]
2014-05-26 16:05 ` [PATCH 19/24] staging: rtl8188eu: Remove unnecessary debugging message from ODM_Write_DIG() navin patidar
2014-05-26 16:05 ` [PATCH 20/24] staging: rtl8188eu: Use ODM_REG_IGI_A_11N and ODM_BIT_IGI_11N in ODM_Write_DIG() navin patidar
2014-05-26 16:05 ` [PATCH 21/24] staging: rtl8188eu: Remove unused macros defined in odm_interface.h navin patidar
2014-05-26 16:05 ` [PATCH 22/24] staging: rtl8188eu: Remove unused function declaration navin patidar
2014-05-26 16:05 ` [PATCH 23/24] staging: rtl8188eu: Remove unused enum odm_h2c_cmd navin patidar
2014-05-26 16:05 ` [PATCH 24/24] staging: rtl8188eu: Remove empty file odm_interface.h navin patidar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1401120339-23667-18-git-send-email-navin.patidar@gmail.com \
    --to=navin.patidar@gmail.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®