From: Luis R. Rodriguez Date: Wed, 13 May 2009 21:04:42 +0000 (-0400) Subject: cfg80211: fix race between core hint and driver's custom apply X-Git-Tag: v2.6.30-rc8~56^2~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5078b2e32ad4b1f753b1c837c15892202f753c97;p=pandora-kernel.git cfg80211: fix race between core hint and driver's custom apply Its possible for cfg80211 to have scheduled the work and for the global workqueue to not have kicked in prior to a cfg80211 driver's regulatory hint or wiphy_apply_custom_regulatory(). Although this is very unlikely its possible and should fix this race. When this race would happen you are expected to have hit a null pointer dereference panic. Cc: stable@kernel.org Signed-off-by: Luis R. Rodriguez Tested-by: Alan Jenkins Signed-off-by: John W. Linville --- Reading git-diff-tree failed