On Sun, 2014-11-09 at 18:50 +0200, Arik Nemtsov wrote:

> +     if (WARN_ON(tid >= IEEE80211_NUM_TIDS))
> +             return -EINVAL;

That validates < 16

> +     queues = BIT(sdata->vif.hw_queue[ieee802_1d_to_ac[tid]]);

but that's only valid for < 8, causing a smatch warning.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to