wifi: wireless: declare different S1G chandefs incompatible
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 18:34:46 +0000 (19:34 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Feb 2024 12:07:37 +0000 (13:07 +0100)
commitb9d908dc3a294d25c7d6c2f54ca3987cbd98f040
tree702712d5b8945073f4b6120c9db8def0b8b99413
parentc478db84c8544156b80c5e5d3a8c7840d557707a
wifi: wireless: declare different S1G chandefs incompatible

It doesn't look like we can get into this code, but make it
more robust and declare two S1G chandefs to be incompatible
unless they're identical.

Link: https://msgid.link/20240129194108.b28fb0644a8c.I9297ada5cf1baf00dbbdf8fcffd1806883489fc9@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c