On Fri, 23 Mar 2007 17:20:33 +0100
Michael Buesch <[EMAIL PROTECTED]> wrote:

> > void bcm43xx_radio_set_tx_iq(struct bcm43xx_private *bcm)
> > {
> >     static const u8 data_high[5] = { 0x00, 0x40, 0x80, 0x90, 0xD0 };
> >     static const u8 data_low[5]  = { 0x00, 0x01, 0x05, 0x06, 0x0A };
> >     u16 tmp = bcm43xx_radio_read16(bcm, 0x001E);
> >     int i, j;
> >
> >     for (i = 0; i < 5; i++) {
> >             for (j = 0; j < 5; j++) {
> >                     if (tmp == (data_high[i] << 4 | data_low[j])) {
> 
> This leftshift by 4 seems wrong, as the data_high values already look
> like leftshifted.

Sorry, my fault, patches coming.


--
Ciao
Stefano
_______________________________________________
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to