375-mac80211-minstrel-fix-CCK-rate-group-streams-value.patch 536 B

1234567891011121314151617181920
  1. From: Felix Fietkau <nbd@nbd.name>
  2. Date: Thu, 1 Mar 2018 13:27:54 +0100
  3. Subject: [PATCH] mac80211: minstrel: fix CCK rate group streams value
  4. Fixes a harmless underflow issue when CCK rates are actively being used
  5. Signed-off-by: Felix Fietkau <nbd@nbd.name>
  6. ---
  7. --- a/net/mac80211/rc80211_minstrel_ht.c
  8. +++ b/net/mac80211/rc80211_minstrel_ht.c
  9. @@ -131,7 +131,7 @@
  10. #define CCK_GROUP(_s) \
  11. [MINSTREL_CCK_GROUP] = { \
  12. - .streams = 0, \
  13. + .streams = 1, \
  14. .flags = 0, \
  15. .shift = _s, \
  16. .duration = { \