From: Luis R. Rodriguez Date: Sat, 30 Jan 2010 00:58:56 +0000 (-0500) Subject: cfg80211: avoid flushing the global workqueue for core reg hints X-Git-Tag: v2.6.34-rc1~233^2~421^2~18 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2bff2694b02448e1d5873ac010582bc9898021c;p=pandora-kernel.git cfg80211: avoid flushing the global workqueue for core reg hints When cfg80211 starts it will send a core regulatory hint. This is sent to the global workqueue but we force processing of it by flushing the global workqueue. The flushing was done since cfg80211 needs last_request to always be populated. Avoid flushing the global workqueue by processing the work required immediately instead of putting it into a linked list and processing it after the flush. Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed