Bluetooth: bluecard: Use del_timer_sync() in teardown path
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Mar 2014 15:09:31 +0000 (15:09 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 23 Mar 2014 17:30:22 +0000 (10:30 -0700)
commitd8ff9cdf68fd119d491f3de90e1a612afc2f3b2b
treeca4cebe5a84e654bebdb11cdfb447369b965e2d4
parent533553f8738184bcf957d97fed9eb4d5f023e4a7
Bluetooth: bluecard: Use del_timer_sync() in teardown path

Make sure no timer callback is running before releasing the
datastructure which contains it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/bluecard_cs.c