]> 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)
commit5c3c089529247e9bffb3d334cbd487eca324c286
tree5e8fc98483271df35fb413988c22398aa2124a78
parente2b4eafe655924cb68ee7801e0b7c064bfad5453
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