Commit 45771f87 authored by Johannes Berg's avatar Johannes Berg Committed by sanglipeng
Browse files

wifi: mac80211: fix min center freq offset tracing

stable inclusion
from stable-v5.10.181
commit f9337a41772dbe6d00e2b686c4f4853e4f570e46
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8GJZJ

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f9337a41772dbe6d00e2b686c4f4853e4f570e46



--------------------------------

[ Upstream commit 248e4776 ]

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: b6011960 ("mac80211: handle channel frequency offset")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarGregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230504134511.828474-2-gregory.greenman@intel.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 315a93e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment