diff options
author | Shahar Levi <shahar_levi@ti.com> | 2011-04-04 03:20:39 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-05-02 03:25:17 -0400 |
commit | 564f59509e26355965949c677f9d6eb064a3aa0b (patch) | |
tree | 4bd00119ca36b3081eb778c5bcdff611eccc70fb /drivers/net/wireless/wl12xx | |
parent | ff776cecec92fe7cac4a9ce1919576ad6e737e08 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r-- | drivers/net/wireless/wl12xx/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c index 0c69e959d0de..11497a90463b 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) | |||
1011 | wl1271_debug(DEBUG_BOOT, "chip id 0x%x (1271 PG20)", | 1011 | wl1271_debug(DEBUG_BOOT, "chip id 0x%x (1271 PG20)", |
1012 | wl->chip.id); | 1012 | wl->chip.id); |
1013 | 1013 | ||
1014 | /* end-of-transaction flag should be set in wl127x AP mode */ | ||
1015 | if (wl->bss_type == BSS_TYPE_AP_BSS) | ||
1016 | wl->quirks |= WL12XX_QUIRK_END_OF_TRANSACTION; | ||
1017 | |||
1014 | ret = wl1271_setup(wl); | 1018 | ret = wl1271_setup(wl); |
1015 | if (ret < 0) | 1019 | if (ret < 0) |
1016 | goto out; | 1020 | goto out; |