wlcore: initiate ROC/CROC on sta state updates
authorEliad Peller <eliad@wizery.com>
Tue, 20 Nov 2012 11:20:06 +0000 (13:20 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 27 Nov 2012 08:48:57 +0000 (10:48 +0200)
commit29936266780295c812b9b8ac27a3db669e0ed1be
tree1cbd8ec7e7ad3cbd98531be0beb26415f7280552
parentb6970ee582acf059fbbc35d861376bd2ae38b7de
wlcore: initiate ROC/CROC on sta state updates

Use the sta_state notifications to ROC when a station
is about to connect, and CROC respectively on
authorization (success) / deletion (failure).

Change the wl12xx_update_sta_state() flow to bail out
only on error, so multiple code blocks could refer
to the same state.

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