mac80211: Fix radiotap header channel flag for 6GHz band
authorAloka Dixit <alokad@codeaurora.org>
Fri, 11 Sep 2020 01:11:35 +0000 (01:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Oct 2020 06:02:49 +0000 (08:02 +0200)
commit9c72951f9e9706efd7965b8fd9eddd908de0398b
treef18fb34fdb4f44bb369f37a020bc802ca18ae9ee
parent2dd5f2a99bf380d90363e9408563c5153a8a1f0d
mac80211: Fix radiotap header channel flag for 6GHz band

[ Upstream commit 412a84b5714af56f3eb648bba155107b5edddfdf ]

Radiotap header field 'Channel flags' has '2 GHz spectrum' set to
'true' for 6GHz packet.
Change it to 5GHz as there isn't a separate option available for 6GHz.

Signed-off-by: Aloka Dixit <alokad@codeaurora.org>
Link: https://lore.kernel.org/r/010101747ab7b703-1d7c9851-1594-43bf-81f7-f79ce7a67cc6-000000@us-west-2.amazonses.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/rx.c