HomeFreeBSD

LinuxKPI: 802.11: remove unneeded re-lookup in lkpi_80211_txq_tx_one()

Description

LinuxKPI: 802.11: remove unneeded re-lookup in lkpi_80211_txq_tx_one()

Given we are passed the lsta in as a function argument there is no
need to re-lookup the sta by ni and possibly not find it.
We know the sta and ni from the lsta and whether it is uploaded to
firmware or not we can check directly from the local lsta flag.

Reviewed by: cc
Differential Revision: https://reviews.freebsd.org/D43965

(cherry picked from commit ac867c20e67423e5019ab90148c387ea127eeffb)

Details

Provenance
bzAuthored on Feb 18 2024, 6:07 PM
Reviewer
cc
Differential Revision
D43965: LinuxKPI: 802.11: remove unneeded re-lookup in lkpi_80211_txq_tx_one()
Parents
rG2a12368e7ced: LinuxKPI: 802.11: implement a deferred RX path
Branches
Unknown
Tags
Unknown