ath5k: precedence error in ath5k_hw_nic_wakeup()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 14 Nov 2012 08:23:07 +0000 (11:23 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Nov 2012 19:28:44 +0000 (14:28 -0500)
commit957708f1a2d3fd41021ea0282e1cd856d23df9ca
tree5b85cbcab42ebbdfe05271778f1b10a9cd4cfc3e
parentc32f5bbb00cf268f76e977d8cf9c75fa3a89c038
ath5k: precedence error in ath5k_hw_nic_wakeup()

'|' has higher precedence than ?:.  Since AR5K_PHY_TURBO_MODE is 0x1 and
"AR5K_PHY_TURBO_MODE | (ah->ah_radio == AR5K_RF2425)" is true then we
always set turbo to zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/reset.c