On Sat, Jan 22, 2011 at 10:33 PM, Sujith <[email protected]> wrote: > 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. :)
Ok Sujith, thanks(now found out :) > > Sujith > _______________________________________________ > ath9k-devel mailing list > [email protected] > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > _______________________________________________ ath9k-devel mailing list [email protected] https://lists.ath9k.org/mailman/listinfo/ath9k-devel
