qca / qcamain_open_hal_public

QCA 10.x mainline reference HAL - AR9380 and later series 802.11n NICs
ISC License
22 stars 22 forks source link

Logical instead of bitwise and #1

Open jrisom opened 11 years ago

jrisom commented 11 years ago

ar9300_misc.c contains an error discovered by clang:

/root/ATH/head/sys/modules/ath/../../dev/ath/ath_hal/ar9003/ar9300_misc.c:853:38: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand] if ((ahp->ah_enterprise_mode && AR_ENT_OTP_MIN_PKT_SIZE_DISABLE) && ^ ~~~~~~~

erikarn commented 11 years ago

Hi!

I've fixed this in my branch; I'll fix it upstream soon.

Thanks!