wlcore: don't take mutex before stopping queues
authorArik Nemtsov <arik@wizery.com>
Wed, 28 Nov 2012 09:42:44 +0000 (11:42 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Dec 2012 10:37:22 +0000 (12:37 +0200)
commitd6037d22f30738e942ddfd29e3fef17deb075420
treeb2eb73c6cf0c538f1523f5c5119b365db8e6c591
parent1c33db782d1d0d9be83feacbb065cd4956f485e7
wlcore: don't take mutex before stopping queues

Protect all functions touching queue_stop_reasons by spin-lock, since
they are accessed by op_tx. Now there's no need to take the mutex
before caling wlcore_queue_xxx functions.

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