]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: AP-mode - fix race condition on sta connection
authorArik Nemtsov <arik@wizery.com>
Tue, 22 Feb 2011 22:22:25 +0000 (00:22 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 23 Feb 2011 09:14:55 +0000 (11:14 +0200)
commit3573343eec5e557263a1bfe66bdb0ec628d673f9
treefb2031356dca5064540e467293e6dc6aa9d803bb
parent1020ecaaf786c1b0d4acaad9f28e7f9abe4be77a
wl12xx: AP-mode - fix race condition on sta connection

If a sta starts transmitting immediately after authentication, sometimes
the FW deauthenticates it. Fix this by marking the sta "in-connection"
in FW before sending the autentication response.

The "in-connection" entry is automatically removed when connection
succeeds or after a timeout.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/acx.c
drivers/net/wireless/wl12xx/acx.h
drivers/net/wireless/wl12xx/tx.c