Skip to content
Commit 3faf5643 authored by Walter Mack's avatar Walter Mack Committed by Marcel Holtmann
Browse files

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: default avatarWalter Mack <wmack@componentsw.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 12d86896
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment