wl18xx: set Tx align quirk for PG2
authorArik Nemtsov <arik@wizery.com>
Mon, 11 Jun 2012 07:41:08 +0000 (10:41 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 21 Jun 2012 13:48:18 +0000 (16:48 +0300)
Before patch b5d6d9b (wlcore/wl12xx/wl18xx: don't use TX align quirk
for wl127x), this was automatically set for all platforms. As this
should now be set explicitly, set it for PG2 as well.

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

index 18cf19c12941a4ca22d6bba9101925137db5df39..066e8e5cbb66adca73de30f26d1dc2ea457f7584 100644 (file)
@@ -608,8 +608,8 @@ static int wl18xx_identify_chip(struct wl1271 *wl)
                wl->plt_fw_name = WL18XX_FW_NAME;
                wl->quirks |= WLCORE_QUIRK_NO_ELP |
                              WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN |
+                             WLCORE_QUIRK_TX_BLOCKSIZE_ALIGN |
                              WLCORE_QUIRK_TX_PAD_LAST_FRAME;
-
                break;
        case CHIP_ID_185x_PG10:
                wl1271_debug(DEBUG_BOOT, "chip id 0x%x (185x PG10)",