summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_urndisreg.h
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2022-04-21 21:03:04 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2022-04-21 21:03:04 +0000
commit5b8cec784badf43f9162cd36d5e56d261be8f9a8 (patch)
tree6f10647f870997071135853fc19a9947433a6225 /sys/dev/usb/if_urndisreg.h
parent4978e2ce49ea757952f61c0fea1381dcf4a086c6 (diff)
Use memset() to initialize struct ieee80211_rxinfo properly.
Sven Wolf noticed that scans on ral(4) are buggy ever since I added a new field to this struct. Turns out a lot of drivers were initializing fields one-by-one, leaving any newly added fields uninitialized by default. Affected drivers may report wrong channel numbers for received beacons. The net80211 stack will discard such beacons, assuming they were received on the wrong channel due to signal leakage. Scanning is broken as result. ok miod@
Diffstat (limited to 'sys/dev/usb/if_urndisreg.h')
0 files changed, 0 insertions, 0 deletions