kernel/drivers/net/wireless/ath/ath5k/ani.c
.. .. @@ -501,7 +501,7 @@ 501 501 502 502 if (as->ofdm_errors > ofdm_high || as->cck_errors > cck_high) { 503 503 /* too many PHY errors - we have to raise immunity */ 504 - bool ofdm_flag = as->ofdm_errors > ofdm_high ? true : false;504 + bool ofdm_flag = as->ofdm_errors > ofdm_high;505 505 ath5k_ani_raise_immunity(ah, as, ofdm_flag); 506 506 ath5k_ani_period_restart(as); 507 507