HomeFreeBSD

net80211 / drivers: remove public use of ieee80211_node_incref()

Description

net80211 / drivers: remove public use of ieee80211_node_incref()

ieee80211_node_incref() is the FreeBSD implementation of
ieee80211_ref_node(). Not being interested in the node returned
it was used as a shortcut in 3 drivers (ath, uath, wpi).
Replace the call with the public KPI of ieee80211_ref_node() and
ignore the result.
This leaves us with the single internal call going
ieee80211_ref_node() -> ieee80211_node_incref() and that should
help increasing portability but also limiting the places to trace
for node reference operations.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit f156cd892b55c04a39fa06d1899e6e316de77f03)

Details

Provenance
bzAuthored on Oct 2 2023, 2:44 PM
Parents
rG96655d8a7db4: LinuxKPI: 802.11: fix counting the number of supbands
Branches
Unknown
Tags
Unknown