cfg80211: allow reprocessing of pending requests
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Wed, 26 Feb 2014 01:09:40 +0000 (17:09 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 3 Mar 2014 14:07:33 +0000 (15:07 +0100)
commit255e25b0e5d4bd035d82f53011df619d8cc0bedb
tree0212d4a8947d4733f8c570dbf1a57fdbe2e649a9
parentb8ff416bc9c90c696cc3f3553617a99e9c5572cf
cfg80211: allow reprocessing of pending requests

In certain situations we want to trigger reprocessing
of the last regulatory hint. One situation in which
this makes sense is the case where the cfg80211 was
built-in to the kernel, CFG80211_INTERNAL_REGDB was not
enabled and the CRDA binary is on a partition not availble
during early boot. In such a case we want to be able to
re-process the same request at some other point.

When we are asked to re-process the same request we need
to be careful to not kfree it, addresses that.

Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
[rename function]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c