Johannes Berg 79ebfb85d4 mac80211: fix associated vs. idle race
Eliad reports that if a scan finishes in the
middle of processing associated (however it
happens), the interface can go idle. This is
because we set assoc_data to NULL before we
set associated. Change the order so any idle
check will find either one of them.

Doing this requires duplicating the TX sync
processing, but I already have a patch to
delete that completely and will submit that
as soon as my driver changes to no longer
require it are submitted.

Reported-by: Eliad Peller <eliad@wizery.com>
Tested-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-02-27 14:06:32 -05:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2011-12-19 14:31:37 -05:00
2012-02-22 14:51:18 -05:00
2012-02-06 14:55:51 -05:00
2009-07-10 15:01:49 -04:00
2012-02-06 14:55:51 -05:00
2011-11-28 14:44:09 -05:00
2012-02-06 14:50:37 -05:00
2012-02-27 14:06:32 -05:00
2012-01-04 14:31:47 -05:00
2011-03-31 11:26:23 -03:00
2012-02-22 14:51:18 -05:00
2011-11-21 16:20:42 -05:00
2012-02-06 14:50:37 -05:00