summaryrefslogtreecommitdiff
path: root/block/scsi_ioctl.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-02-20 13:19:58 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2012-02-27 19:06:32 (GMT)
commit79ebfb85d4ad3495d70124a249a1096ab6396c05 (patch)
treea24b8155adbc30e2ed49768351061c48037b9242 /block/scsi_ioctl.c
parentd26ad3771fe7405bf80d736cae9ba4c706a7b1d8 (diff)
downloadlinux-fsl-qoriq-79ebfb85d4ad3495d70124a249a1096ab6396c05.tar.xz
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>
Diffstat (limited to 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions