aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2009-03-28 01:45:04 +0000
committerChris Wright <chrisw@sous-sol.org>2009-04-02 13:55:17 -0700
commitdb257505aa751f739531fee3a3f16a45ddb0eaca (patch)
treec35eb7115b45a9e63e95d5dc91831afe78d12433 /fs
parent7b2b76da5c570166c04a44c9646963089b67e4ef (diff)
ath5k: warn and correct rate for unknown hw rate indexes
upstream commit: b726604706ad88d8b28bc487e45e710f58cc19ee 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> [chrisw: add db5b4f7ae3901fdc48c5b988fc2a5e0cb4ec1870 to backport] Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions