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)
commit99a2775d02a7accf4cc661a65c76fd7b379d1c7a
treefb2031356dca5064540e467293e6dc6aa9d803bb
parentf4d08ddd3e60c79a141be36a5f3a7294c619291d
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