cfg80211: reg: improve bad regulatory warning
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2021 10:41:56 +0000 (13:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 10:42:49 +0000 (12:42 +0200)
commitb767ecdaf98a999ef710f4f290bdd89257a90db0
tree80cfa4bcb3e2f11eedca822b643506001e07b00c
parentaeddc05fa9cff35402fc569cc6e7fca6ee36bac1
cfg80211: reg: improve bad regulatory warning

There's a WARN_ON here but it says nothing, and the later
dump of the regdomain aren't usually printed. As a first
step, include the regdomain code in the WARN_ON message,
just like in other similar instances.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210618133832.853ffdd6c62b.I63e37b2ab184ee3653686e4df4dd23eb303687d2@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c