wl18xx: set Rx block-size alignment quirk
authorArik Nemtsov <arik@wizery.com>
Thu, 10 May 2012 09:13:22 +0000 (12:13 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:55:06 +0000 (15:55 +0300)
The 18xx FW sends Rx blocks with aligned length.

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

index 4a5ef6e53954cd3774ccca72c116ddfcab707d43..a074d811fef0d5f4525792afbcf0939a6442ae4e 100644 (file)
@@ -243,7 +243,8 @@ static int wl18xx_identify_chip(struct wl1271 *wl)
                wl1271_debug(DEBUG_BOOT, "chip id 0x%x (185x PG10)",
                             wl->chip.id);
                wl->sr_fw_name = WL18XX_FW_NAME;
-               wl->quirks |= WLCORE_QUIRK_NO_ELP;
+               wl->quirks |= WLCORE_QUIRK_NO_ELP |
+                             WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN;
 
                /* TODO: need to blocksize alignment for RX/TX separately? */
                break;