HomeFreeBSD

rtwn: remove out-of-bounds access + fix debug output.

Description

rtwn: remove out-of-bounds access + fix debug output.

Omit unused rates while initializing / dumping Tx power values.

They were not accessed anywhere (except for debugging), so this is
(mostly) no-op.

Tested with

  • RTL8188EU, STA mode.
  • RTL8812AU, STA mode.

Found by: PVS-Studio

Details

Provenance
avosAuthored on Apr 12 2017, 7:21 AM
Parents
rG36fe8e353a9a: Most wireless drivers don't support altq(4).
Branches
Unknown
Tags
Unknown

Event Timeline