]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cfg80211: reg: remove warn_on for a normal case
authorChaitanya Tata <chaitanya.tata@bluwireless.co.uk>
Thu, 24 Jan 2019 10:43:02 +0000 (16:13 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Jan 2019 09:18:02 +0000 (10:18 +0100)
commitfaae54ad4151f120bde60fd6e2b2a40e0de8ac73
tree5716ae3ee09458652aeb51bac0ec9c32bf34de55
parent7c53eb5d87bc21464da4268c3c0c47457b6d9c9b
cfg80211: reg: remove warn_on for a normal case

If there are simulatenous queries of regdb, then there might be a case
where multiple queries can trigger request_firmware_no_wait and can have
parallel callbacks being executed asynchronously. In this scenario we
might hit the WARN_ON.

So remove the warn_on, as the code already handles multiple callbacks
gracefully.

Signed-off-by: Chaitanya Tata <chaitanya.tata@bluwireless.co.uk>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c