drivers/net/wireless/bcmdhd4361/wl_android.c:7107:22: error: overlapping comparisons always evaluate to false [-Werror,-Wtautological-overlap-compare]
if ((adps_mode < 0) && (1 < adps_mode)) {
Change-Id: Ic52de37d5048341a0851b011463522b4865d119a
adps_mode = bcm_atoi(string_num);
WL_ERR(("%s: SET_ADPS %d\n", __FUNCTION__, adps_mode));
- if ((adps_mode < 0) && (1 < adps_mode)) {
+ if ((adps_mode < 0) || (1 < adps_mode)) {
WL_ERR(("%s: Invalid value %d.\n", __FUNCTION__, adps_mode));
return -EINVAL;
}