diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-06-03 11:15:03 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-06-05 14:33:51 +0200 |
commit | 523f3ec030aa5bf4818ec8dee35b2646abf367fa (patch) | |
tree | fe85093546665b0d93c37a9c427da7bf65ca057c /Documentation | |
parent | 79ea1e12c0b8540100e89b32afb9f0e6503fad35 (diff) | |
download | lwn-523f3ec030aa5bf4818ec8dee35b2646abf367fa.tar.gz lwn-523f3ec030aa5bf4818ec8dee35b2646abf367fa.zip |
mac80211: initialize return flags in HE 6 GHz operation parsing
Dan points out that if ieee80211_chandef_he_6ghz_oper() succeeds,
we don't initialize 'ret'. Initialize it to 0 in this case, since
everything went fine and nothing has to be disabled.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 57fa5e85d53c ("mac80211: determine chandef from HE 6 GHz operation")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20200603111500.bd2a5ff37b83.I2c3f338ce343b581db493eb9a0d988d1b626c8fb@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions