Page MenuHomeFreeBSD

net80211: fix checks for (*iv_preamble_update)/(*iv_ht_protmode_update)
ClosedPublic

Authored by bz on Jan 29 2024, 9:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 15, 2:08 AM
Unknown Object (File)
Nov 28 2025, 9:21 PM
Unknown Object (File)
Nov 21 2025, 5:11 AM
Unknown Object (File)
Nov 14 2025, 1:29 PM
Unknown Object (File)
Nov 13 2025, 4:11 PM
Unknown Object (File)
Nov 12 2025, 11:25 PM
Unknown Object (File)
Nov 12 2025, 9:38 PM
Unknown Object (File)
Nov 12 2025, 9:27 PM

Details

Summary

Both vap_update_preamble() and vap_update_ht_protmode() also check for
(*iv_erp_protmode_update)() rather than (*iv_preamble_update)()
or (*iv_ht_protmode_update)() before calling the later.
Use the appropriate NULL-function-pointer checks before calling it.

MFC after: 3 days

Test Plan

all three seem unused in the tree so no actual problem (yet)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 55697
Build 52586: arc lint + arc unit