2011-04-04 07:18:54

by Shahar Levi

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]> for the guidance with that.

Signed-off-by: Shahar Levi <[email protected]>
---
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 85cb4da..13f3442 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -1006,6 +1006,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;
--
1.7.0.4



2011-04-20 17:35:53

by Luciano Coelho

[permalink] [raw]
Subject: Re: [PATCH] wl12xx: Set End-of-transaction Flag at Wl127x AP Mode

On Mon, 2011-04-04 at 10:20 +0300, Shahar Levi wrote:
> End-of-transaction flag should be set when working with
> wl127x chip on AP mode.
>
> Thanks Ido Yariv <[email protected]> for the guidance with that.
>
> Signed-off-by: Shahar Levi <[email protected]>
> ---

Applied. Thanks, Shahar!

--
Cheers,
Luca.