wl18xx: change the low_band_component_type for HDK boards
authorLuciano Coelho <coelho@ti.com>
Thu, 10 May 2012 09:13:51 +0000 (12:13 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:56:43 +0000 (15:56 +0300)
Currently, all HDK boards use low_band_component_type 0x06.  In the
future this may change, but for now, we hardcode this value when the
board_type is set to HDK.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
drivers/net/wireless/ti/wl18xx/main.c

index 5940829..f14141b 100644 (file)
@@ -1051,6 +1051,8 @@ int __devinit wl18xx_probe(struct platform_device *pdev)
                priv->board_type = BOARD_TYPE_FPGA_18XX;
        } else if (!strcmp(board_type_param, "hdk")) {
                priv->board_type = BOARD_TYPE_HDK_18XX;
+               /* HACK! Just for now we hardcode HDK to 0x06 */
+               priv->conf.phy.low_band_component_type = 0x06;
        } else if (!strcmp(board_type_param, "dvp")) {
                priv->board_type = BOARD_TYPE_DVP_18XX;
        } else if (!strcmp(board_type_param, "evb")) {