]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cfg80211: reg: search built-in database directly
authorJohannes Berg <johannes.berg@intel.com>
Thu, 15 Oct 2015 07:03:05 +0000 (09:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 15 Oct 2015 14:17:09 +0000 (16:17 +0200)
commitc7d319e542a3126bca029745735cdef5a5ca55c2
tree5e8fc98483271df35fb413988c22398aa2124a78
parentcecbb069cce37dac754380d36c31e286a276e4c3
cfg80211: reg: search built-in database directly

Instead of searching the built-in database only in the worker,
search it directly and return an error if the entry cannot be
found (or memory cannot be allocated.) This means that builtin
database queries no longer rely on the timeout.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c