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, Feb 4, 8:42 PM
Unknown Object (File)
Tue, Feb 4, 8:38 PM
Unknown Object (File)
Sat, Feb 1, 11:15 AM
Unknown Object (File)
Jan 12 2025, 1:43 PM
Unknown Object (File)
Jan 5 2025, 4:35 AM
Unknown Object (File)
Dec 11 2024, 3:34 AM
Unknown Object (File)
Nov 24 2024, 3:51 PM
Unknown Object (File)
Nov 24 2024, 3:51 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