hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/wireless/ath/ath5k/ani.c
....@@ -501,7 +501,7 @@
501501
502502 if (as->ofdm_errors > ofdm_high || as->cck_errors > cck_high) {
503503 /* 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;
505505 ath5k_ani_raise_immunity(ah, as, ofdm_flag);
506506 ath5k_ani_period_restart(as);
507507