]> git.karo-electronics.de Git - linux-beck.git/commit
wl12xx: set the AP-started flag only after setting keys
authorArik Nemtsov <arik@wizery.com>
Sun, 14 Aug 2011 10:17:37 +0000 (13:17 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 22 Aug 2011 09:35:31 +0000 (12:35 +0300)
commitcf42039f33c8c7c12f19390661eb00ba47b96f91
tree2607757b8d884bf99860788dc6cf61aebc205e65
parent9b17f1b371c5aa5179b3e5392bc22132a3371da4
wl12xx: set the AP-started flag only after setting keys

This fix eliminates a potential race between starting the AP role
and setting encryption keys.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c