From: Ulisses Furquim Date: Mon, 30 Jan 2012 20:26:28 +0000 (-0200) Subject: Bluetooth: Remove usage of __cancel_delayed_work() X-Git-Tag: v3.3-rc6~36^2~26^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6de32750822d00bfa92c341166132b0714c5b559;p=pandora-kernel.git Bluetooth: Remove usage of __cancel_delayed_work() __cancel_delayed_work() is being used in some paths where we cannot sleep waiting for the delayed work to finish. However, that function might return while the timer is running and the work will be queued again. Replace the calls with safer cancel_delayed_work() version which spins until the timer handler finishes on other CPUs and cancels the delayed work. Signed-off-by: Ulisses Furquim Acked-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed