diff options
| author | Paulo Miguel Almeida <[email protected]> | 2022-01-19 12:05:55 +1300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-01-25 16:33:55 +0100 |
| commit | ca532a56ada46c206ea4a7f87ce34b38c274e57a (patch) | |
| tree | 68815279bd6228b9c2c13c99bfe36e8f5c0eda2a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 14dbdad1f1a142f2c5d5dde6f671c18ac6763e30 (diff) | |
staging: pi433: validate max bit_rate based on modulation used
Max bit rate is dependent on which modulation is used. Previous
validation routine only took into consideration min bit rate which can
lead a misconfiguration of the rf69 chip causing the packets not to be
sent/read.
This patch enhances that input check in set_bit_rate to account for
modulation values and their respective max bit rate
Acked-by: Dan Carpenter <[email protected]>
Signed-off-by: Paulo Miguel Almeida <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions