aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-07-24 13:29:12 +0200
committerJohannes Berg <johannes.berg@intel.com>2024-07-26 12:32:47 +0200
commit6873cc4416078202882691b424fcca5b5fb1a94d (patch)
treebce6aab46a16dbf1cc9856898b7bf3d395681926 /scripts/generate_rust_analyzer.py
parentbaeaabf970b9a90999f62ae27edf63f6cb86c023 (diff)
wifi: cfg80211: correct S1G beacon length calculation
The minimum header length calculation (equivalent to the start of the elements) for the S1G long beacon erroneously required only up to the start of u.s1g_beacon rather than the start of u.s1g_beacon.variable. Fix that, and also shuffle the branches around a bit to not assign useless values that are overwritten later. Reported-by: syzbot+0f3afa93b91202f21939@syzkaller.appspotmail.com Fixes: 9eaffe5078ca ("cfg80211: convert S1G beacon to scan results") Link: https://patch.msgid.link/20240724132912.9662972db7c1.I8779675b5bbda4994cc66f876b6b87a2361c3c0b@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions