commit | 55fabefe3695241e6ccfa0cd4974f3fa497693dc | [log] [tgz] |
---|---|---|
author | Thomas Pedersen <thomas@cozybit.com> | Fri Oct 05 17:57:39 2012 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Oct 08 15:06:02 2012 -0400 |
tree | eb6bb131022cac1457e760b1b94bc7ae25e38408 | |
parent | cf193f6d2ad322cdec1872b28d761db8d22e5c00 [diff] |
mac80211: call drv_get_tsf() in sleepable context The call to drv_get/set_tsf() was put on the workqueue to perform tsf adjustments since that function might sleep. However it ended up inside a spinlock, whose critical section must be atomic. Do tsf adjustment outside the spinlock instead, and get rid of a warning. Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>