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
F84153047: D43655.id.diff
Mon, May 20, 2:21 AM
F84153035: D43655.id134336.diff
Mon, May 20, 2:21 AM
Unknown Object (File)
Sun, May 19, 8:06 PM
Unknown Object (File)
Sun, May 5, 2:02 PM
Unknown Object (File)
Wed, May 1, 10:01 PM
Unknown Object (File)
Apr 8 2024, 3:21 PM
Unknown Object (File)
Mar 25 2024, 10:37 PM
Unknown Object (File)
Mar 6 2024, 4:09 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