From: Thomas Pedersen Date: Sat, 6 Oct 2012 00:57:39 +0000 (-0700) Subject: mac80211: call drv_get_tsf() in sleepable context X-Git-Tag: v3.7-rc1~25^2~31^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55fabefe3695241e6ccfa0cd4974f3fa497693dc;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed