Skip to content
Commit b0291715 authored by Helmut Schaa's avatar Helmut Schaa Committed by Kalle Valo
Browse files

ath9k: Simplify ar9003_hw_tx99_set_txpower



There's no need to keep the same for loop twice in the code.
Move the txpower cap before the loop to reduce code complexity.

Signed-off-by: default avatarHelmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent e7ae3289
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment