summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ti-st
diff options
context:
space:
mode:
authorVipin Mehta <vmehta@atheros.com>2010-09-17 09:55:15 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-20 17:02:02 -0700
commit9b906a33e0a459ea4d51c8d243154c6998be2a1d (patch)
treeb65c3139397cb74da1f0858d7c28c48b3a0bcc01 /drivers/staging/ti-st
parent103281df0b7fec07872ef033666a1707b5755b9c (diff)
downloadop-kernel-dev-9b906a33e0a459ea4d51c8d243154c6998be2a1d.zip
op-kernel-dev-9b906a33e0a459ea4d51c8d243154c6998be2a1d.tar.gz
staging: ath6kl: Fixing a race condition during initialization
The commit fixes a race condition in the initialization portion of the driver. The problem was observed while testing with the kernel in the staging-next tree. The wait on the ready event is signalled prematurely before setting the arVersion.wlan_ver and arVersion.abi_ver. The code waiting on this semaphore checks for the validity of these values and hence may proceed with an un-updated values of these fields. The wakeup signal is now sent after these values are set. Signed-off-by: Vipin Mehta <vmehta@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ti-st')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud