]> git.baikalelectronics.ru Git - kernel.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)
commitc21097486a802c62e21c8e9756e66ad33e74431f
tree5e8fc98483271df35fb413988c22398aa2124a78
parented9c8510509e130f736270c7323226bc2a349f87
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