]> git.itanic.dy.fi Git - linux-stable/commit
wifi: mac80211: fix min center freq offset tracing
authorJohannes Berg <johannes.berg@intel.com>
Thu, 4 May 2023 13:45:01 +0000 (16:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 11:57:53 +0000 (12:57 +0100)
commitf9337a41772dbe6d00e2b686c4f4853e4f570e46
tree6a67a7ce0fb5e8930a03cee7e3d59d59768430f8
parent43f6575004e0bbe0acc5d7a1955f326b22f38121
wifi: mac80211: fix min center freq offset tracing

[ Upstream commit 248e4776514bf70236e6b1a54c65aa5324c8b1eb ]

We need to set the correct trace variable, otherwise we're
overwriting something else instead and the right one that
we print later is not initialized.

Fixes: b6011960f392 ("mac80211: handle channel frequency offset")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230504134511.828474-2-gregory.greenman@intel.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/trace.h