I'm reading ath5k code that setting transmit power.
The end of ath5k_hw_txpower seems strange to me.

Why AR5K_PHY_TXPOWER_RATE_MAX (register address) ORed with
AR5K_TUNE_MAX_TXPOWER, this feels like CP mistake.

------------------------------------------------------------------
} else {
    ath5k_hw_reg_write(ah, AR5K_PHY_TXPOWER_RATE_MAX |
        AR5K_TUNE_MAX_TXPOWER, AR5K_PHY_TXPOWER_RATE_MAX);
}
------------------------------------------------------------------

-- 
Best regards, Nikolay Ledovskikh.
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to