Mohammed Shafi wrote:
> As the Rate Control is handled in firmware the tx rate status is not
> reported properly and this is the cause of warning.
> To remove this warning we can do(not a fix)
>
> - /* uh huh? */
> - if (WARN_ON_ONCE(info->control.rates[0].idx < 0))
> + if (!(local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL)) {
> + if (WARN_ON_ONCE(info->control.rates[0].idx < 0))
> return 0;
> + }
Well, this doesn't fix the issue.
And warnings are present in the code for a reason. :)
Sujith
_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel