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
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to