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)
Tue, Nov 19, 7:08 PM
Unknown Object (File)
Fri, Nov 15, 6:23 AM
Unknown Object (File)
Oct 16 2024, 2:56 PM
Unknown Object (File)
Sep 25 2024, 9:55 PM
Unknown Object (File)
Sep 23 2024, 1:34 AM
Unknown Object (File)
Sep 22 2024, 5:24 AM
Unknown Object (File)
Sep 21 2024, 10:40 PM
Unknown Object (File)
Sep 19 2024, 3:33 AM

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