summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShahar Levi <shahar_levi@ti.com>2011-04-04 10:20:39 +0300
committerLuciano Coelho <coelho@ti.com>2011-05-02 10:25:17 +0300
commit564f59509e26355965949c677f9d6eb064a3aa0b (patch)
tree4bd00119ca36b3081eb778c5bcdff611eccc70fb
parentff776cecec92fe7cac4a9ce1919576ad6e737e08 (diff)
downloadop-kernel-dev-564f59509e26355965949c677f9d6eb064a3aa0b.zip
op-kernel-dev-564f59509e26355965949c677f9d6eb064a3aa0b.tar.gz
wl12xx: Set End-of-transaction Flag at Wl127x AP Mode
End-of-transaction flag should be set when working with wl127x chip on AP mode. Thanks Ido Yariv <ido@wizery.com> for the guidance with that. Signed-off-by: Shahar Levi <shahar_levi@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
-rw-r--r--drivers/net/wireless/wl12xx/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 0c69e95..11497a9 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -1011,6 +1011,10 @@ static int wl1271_chip_wakeup(struct wl1271 *wl)
wl1271_debug(DEBUG_BOOT, "chip id 0x%x (1271 PG20)",
wl->chip.id);
+ /* end-of-transaction flag should be set in wl127x AP mode */
+ if (wl->bss_type == BSS_TYPE_AP_BSS)
+ wl->quirks |= WL12XX_QUIRK_END_OF_TRANSACTION;
+
ret = wl1271_setup(wl);
if (ret < 0)
goto out;
OpenPOWER on IntegriCloud