diff options
author | Walter Mack <wmack@componentsw.com> | 2016-07-12 05:02:16 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-07-12 11:54:53 +0200 |
commit | 3faf56437239326113a3c4b99ab8204e2b09c2e4 (patch) | |
tree | 0dc7508fbc51b3931c81e5e5b5bf48f37604ebf0 /kernel/compat.c | |
parent | Bluetooth: Add support of 13d3:3490 AR3012 device (diff) | |
download | linux-3faf56437239326113a3c4b99ab8204e2b09c2e4.tar.xz linux-3faf56437239326113a3c4b99ab8204e2b09c2e4.zip |
mrf24j40: avoid uninitialized byte in SPI transfer to radio.
isr function issues SPI read command to mrf to obtain INTSTAT.
SPI transfer is 2 bytes, but value of 2nd byte is not defined.
This had the effect that only the first ISR worked as intended. The
second ISR read incorrect INTSTAT values. Observed on Raspberry PI B+.
Signed-off-by: Walter Mack <wmack@componentsw.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions