]> err.no Git - linux-2.6/commit
[PATCH] rt2x00: make rt2x00lib_stop_link_tuner() reentrant with link_tuner work
authorIvo van Doorn <ivdoorn@gmail.com>
Tue, 25 Sep 2007 18:56:36 +0000 (20:56 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:04 +0000 (16:53 -0700)
commit3e30968e55e43ef08ee08c71258711a79c550f25
tree4e735d4b021c6e10869be053a406c4fbeaad614f
parent643b252123fab1a524449be3b79937f17e06a5ac
[PATCH] rt2x00: make rt2x00lib_stop_link_tuner() reentrant with link_tuner work

Calling cancel_delayed_work_sync() unconditionally won't hurt
and it will avoid race conditions when another CPU is already
executing link_tuner work.

Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c