Bob Copeland b726604706 ath5k: warn and correct rate for unknown hw rate indexes
ath5k sets up a mapping table from the hardware rate index to
the rate index used by mac80211; however, we have seen some
received frames with incorrect rate indexes.  Such frames
normally get dropped with a warning in __ieee80211_rx(),
but it doesn't include enough information to track down the
error.

This patch adds a warning to hw_to_driver_rix for any lookups
that result in a rate index of -1, then returns a valid rate so
the frame can be processed.

Changes-licensed-under: 3-Clause-BSD

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-03-27 20:13:18 -04:00
..
2009-02-09 15:03:47 -05:00
2009-03-21 22:55:36 -07:00
2009-03-27 20:12:52 -04:00
2009-03-27 20:13:18 -04:00
2009-03-16 18:09:35 -04:00
2009-03-21 22:43:59 -07:00
2009-02-27 14:52:44 -05:00
2009-03-21 22:44:01 -07:00
2009-03-16 18:09:43 -04:00
2009-03-21 22:51:19 -07:00
2009-03-21 22:43:57 -07:00
2009-03-21 22:51:20 -07:00
2009-03-21 22:51:21 -07:00