ath10k-ct: fix bandwidth conversion bug
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 28 Sep 2018 21:03:32 +0000 (23:03 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 28 Sep 2018 21:05:43 +0000 (23:05 +0200)
commitb47a9cd4ba699342f7a74bf104dd65f4ca59e7ed
tree6e8bd4a54c0ece0089f776fe289526bbdd240688
parent39a96205474fa82e37d756399fde01d2964d3125
ath10k-ct: fix bandwidth conversion bug

This backports a patch from the upstream kernel which was also shipped
previously in mac80211.
This fixes the following warning:
WARNING: CPU: 0 PID: 2881 at backports-4.19-rc5-1/net/wireless/util.c:1146 cfg80211_calculate_bitrate+0x238/0x348 [cfg80211]
invalid rate bw=2, mcs=0, nss=1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/ath10k-ct/patches/210-ath10k-fix-recent-bandwidth-conversion-bug.patch [new file with mode: 0644]