public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: question regarding drivers/staging/rtl8821ae/rtl8821ae/dm.c
       [not found] <CAB78YHyvDOEbbcbBn7pXZ-VLs43trRPY=ei47WL+QoG8OgV=1w@mail.gmail.com>
@ 2014-08-13  2:01 ` Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2014-08-13  2:01 UTC (permalink / raw)
  To: Himangi Saraogi; +Cc: devel, linux-kernel, Julia Lawall

On Wed, Aug 13, 2014 at 01:06:16AM +0530, Himangi Saraogi wrote:
> Hi,
> 
> In the file, I see the code:
> 
> void rtl8821ae_dm_set_tx_ant_by_tx_
> info(...) {
>   ...
>   if ((rtlefuse->antenna_div_type == CG_TRX_HW_ANTDIV) ||
>       (rtlefuse->antenna_div_type == CG_TRX_HW_ANTDIV)){
>      SET_TX_DESC_TX_ANT(pdesc, pfat_table->antsel_a[mac_id]);
>   }
> }
> 
> Here, there is a double test. It seems the second test must be for
> CGCS_RX_HW_ANTDIV or CG_TRX_SMART_ANTDIV but am not sure. Is the second test
> just redundant or a different constant must be used?

No idea, try asking the original developers of the code (hint, almost
impossible...)

sorry,

greg k-h

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-13  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAB78YHyvDOEbbcbBn7pXZ-VLs43trRPY=ei47WL+QoG8OgV=1w@mail.gmail.com>
2014-08-13  2:01 ` question regarding drivers/staging/rtl8821ae/rtl8821ae/dm.c Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox