]> git.openfabrics.org - ~emulex/infiniband.git/commit
wlcore: take the mutex before resetting Tx queues
authorArik Nemtsov <arik@wizery.com>
Tue, 27 Nov 2012 06:44:53 +0000 (08:44 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 5 Dec 2012 07:41:47 +0000 (09:41 +0200)
commitd935e385f88616fa867406de97521e07fe41539d
treeb849b56910bd6cf8f3ad8dc9d5aa8c0f2349ab70
parent4c145185175dcca660265d2fcdd4feffc0249f8e
wlcore: take the mutex before resetting Tx queues

Otherwise we risk contention for private members of our global structure
while op_stop_locked is running.

Reported-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c