From: Tejun Heo Date: Sun, 12 Dec 2010 15:45:15 +0000 (+0100) Subject: hostap: don't use flush_scheduled_work() X-Git-Tag: v2.6.38-rc1~476^2~198 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1635953305694ece16d99078ca6d32f3d4e7eb36;p=pandora-kernel.git hostap: don't use flush_scheduled_work() flush_scheduled_work() is on its way out. Drop flush_scheduled_work() from prism2_free_local_data() and replace it with explicit flushing of work items on the respective free functions. Work items in ap_data are flushed from hostap_free_data() and the ones in local_info from prism2_free_local_data(). Flush is used instead of cancel as some process and free items from queue. Signed-off-by: Tejun Heo Cc: "David S. Miller" Cc: Jes Sorensen Cc: netdev@vger.kernel.org --- Reading git-diff-tree failed