HomeFreeBSD

net80211: fix duplicate packet counter incrementation.

Description

net80211: fix duplicate packet counter incrementation.

Remove 'if_inc_counter(ifp, IFCOUNTER_OPACKETS, 1);' from raw xmit
and apbridge path; it will be incremented by ieee80211_tx_complete()
after packet transmission.

Noticed by: Imre Vadasz <imre@vdsz.com>

Details

Provenance
avosAuthored on
Parents
rS301721: Decouple MaxBurstLength and FirstBurstLength from MaxRecvDataSegmentLength
Branches
Unknown
Tags
Unknown