cfg80211: fix 6 GHz frequencies to kHz
authorJohannes Berg <johannes.berg@intel.com>
Fri, 29 May 2020 12:04:27 +0000 (14:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sun, 31 May 2020 09:25:59 +0000 (11:25 +0200)
commit5e9cf0f0a3e98992184442de24253fe1b9c40f2e
tree8a0992b11a0476167a213e85f8392b9e70d2f753
parenta7528198add88a6f51b8ade17a5cf86804b8f7ee
cfg80211: fix 6 GHz frequencies to kHz

The updates to change to kHz frequencies and the 6 GHz
additions evidently overlapped (or rather, I didn't see
it when applying the latter), so the 6 GHz is broken.
Fix this.

Fixes: 934f4c7dd3a5 ("cfg80211: express channels with a KHz component")
Link: https://lore.kernel.org/r/20200529140425.1bf824f6911b.I4a1174916b8f5965af4366999eb9ffc7a0347470@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c