OSDN Git Service

cfg80211: Adjust 6 GHz frequency to channel conversion
authorAmar Singhal <asinghal@codeaurora.org>
Fri, 19 Jun 2020 20:52:01 +0000 (13:52 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Aug 2020 08:53:21 +0000 (10:53 +0200)
commit2d9b55508556ccee6410310fb9ea2482fd3328eb
tree4be85950905b235a0e82ff77a7f531c9a4e708f3
parent47df8e059b49a80c179fae39256bcd7096810934
cfg80211: Adjust 6 GHz frequency to channel conversion

Adjust the 6 GHz frequency to channel conversion function,
the other way around was previously handled.

Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
Link: https://lore.kernel.org/r/1592599921-10607-1-git-send-email-asinghal@codeaurora.org
[rewrite commit message, hard-code channel 2]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c