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
F132400927: D43655.diff
Thu, Oct 16, 2:55 PM
F132325800: D43655.id134336.diff
Wed, Oct 15, 10:20 PM
Unknown Object (File)
Tue, Oct 14, 1:57 AM
Unknown Object (File)
Thu, Oct 9, 7:14 AM
Unknown Object (File)
Fri, Sep 19, 5:22 PM
Unknown Object (File)
Sep 11 2025, 9:28 PM
Unknown Object (File)
Aug 15 2025, 12:06 AM
Unknown Object (File)
Jul 28 2025, 11:04 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 Not Applicable
Unit
Tests Not Applicable