fw/rffe/compal: Add support for 850 band
authorSylvain Munaut <tnt@246tNt.com>
Mon, 23 May 2011 21:15:09 +0000 (23:15 +0200)
committerSylvain Munaut <tnt@246tNt.com>
Sun, 29 May 2011 17:51:54 +0000 (19:51 +0200)
The HW switch supports it.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
src/target/firmware/board/compal/rffe_dualband.c

index d2d517d..152f31b 100644 (file)
@@ -35,9 +35,9 @@ void rffe_mode(enum gsm_band band, int tx)
        /* Then we selectively set the bits on, if required */
        if (tx) {
                tspact &= ~TRENA;
-               if (band == GSM_BAND_900)
+               if (band == GSM_BAND_850 || band == GSM_BAND_900)
                        tspact &= ~GSM_TXEN;
-               tspact |= PA_ENABLE;    /* Dieter: TODO */
+               tspact |= PA_ENABLE;
        }
 #endif /* TRANSMIT_SUPPORT */