Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7576107c authored by Johannes Berg's avatar Johannes Berg Committed by Alexei Avshalom Lazar
Browse files

cfg80211: initialize on-stack chandefs



In a few places we don't properly initialize on-stack chandefs,
resulting in EDMG data to be non-zero, which broke things.

Additionally, in a few places we rely on the driver to init the
data completely, but perhaps we shouldn't as non-EDMG drivers
may not initialize the EDMG data, also initialize it there.

Change-Id: I5c4e6e54df272cfa65b90d37f29ace231ff17645
Cc: stable@vger.kernel.org
Fixes: 2a38075cd0be ("nl80211: Add support for EDMG channels")
Reported-by: default avatarDmitry Osipenko <digetx@gmail.com>
Tested-by: default avatarDmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/1569239475-I2dcce394ecf873376c386a78f31c2ec8b538fa25@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Git-commit: f43e5210c739fe76a4b0ed851559d6902f20ceb1
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git


Signed-off-by: default avatarAlexei Avshalom Lazar <ailizaro@codeaurora.org>
parent eca47d45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment