Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Cc: [email protected] Signed-off-by: John W. Linville <[email protected]>
- Loading branch information