wl18xx: change low_band_component_type value for COM8
authorLuciano Coelho <coelho@ti.com>
Thu, 10 May 2012 09:14:01 +0000 (12:14 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:57:36 +0000 (15:57 +0300)
Like HDK, COM8 uses 0x06 for the low_band_component_type as well.
Hardcode the value for COM8 until this configuration can be done in
the external configuration binary (to be implemented).

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

index aa227a17187e5ae31c2d35f8bfb567e2c3408922..6047a6d9097552d355591f7e28361279dbc23cb0 100644 (file)
@@ -1086,6 +1086,8 @@ int __devinit wl18xx_probe(struct platform_device *pdev)
                priv->board_type = BOARD_TYPE_EVB_18XX;
        } else if (!strcmp(board_type_param, "com8")) {
                priv->board_type = BOARD_TYPE_COM8_18XX;
+               /* HACK! Just for now we hardcode COM8 to 0x06 */
+               priv->conf.phy.low_band_component_type = 0x06;
        } else {
                wl1271_error("invalid board type '%s'", board_type_param);
                wlcore_free_hw(wl);