diff options
| author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2020-04-27 15:40:23 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-28 14:14:27 +0200 |
| commit | 87066173e34b0ca5d041d5519e6bb030b1958184 (patch) | |
| tree | d6bed0243c854ab6902fdca78b72df086b0620e7 /tools/perf/scripts/python | |
| parent | bfe2eb23d96ed23cb6c82cdcfcc6d79cee497367 (diff) | |
| download | linux-87066173e34b0ca5d041d5519e6bb030b1958184.tar.gz linux-87066173e34b0ca5d041d5519e6bb030b1958184.zip | |
staging: wfx: fix overflow in frame counters
It has been reported that trying to send small packets of data could
produce a "inconsistent notification" warning.
It seems that in some circumstances, the number of frame queued in the
driver could greatly increase and exceed UCHAR_MAX. So the field
"buffered" from struct sta_priv can overflow.
Just increase the size of "bueffered" to fix the problem.
Fixes: 7d2d2bfdeb82 ("staging: wfx: relocate "buffered" information to sta_priv")
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200427134031.323403-10-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
