summaryrefslogtreecommitdiff
path: root/net/mac80211/rc80211_pid_debugfs.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2010-10-16 18:49:15 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-10-25 14:43:13 -0400
commit5f4e6b2d3c74c1adda1cbfd9d9d30da22c7484fc (patch)
treeb6790e3f195491139d2af7642ef3f4f51408ca10 /net/mac80211/rc80211_pid_debugfs.c
parentcae7f953e8afa9b1ce234fd0907183b643cc5ab8 (diff)
mac80211: don't sanitize invalid rates
I found this bug while poking around with a pure-gn AP. Commit: cfg80211/mac80211: Use more generic bitrate mask for rate control Added some sanity checks to ensure that each tx rate index is included in the configured mask and it would change any rate indexes if it wasn't. But, the current implementation doesn't take into account that the invalid rate index "-1" has a special meaning (= no further attempts) and it should not be "changed". Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Cc: stable@kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rc80211_pid_debugfs.c')
0 files changed, 0 insertions, 0 deletions