summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-03-01 21:55:33 +0100
committerMarcel Holtmann <marcel@holtmann.org>2015-03-03 02:15:25 +0100
commit263be3326b89a1a4994b29cbe898637fd72e6f0b (patch)
treec2eb60c48a90f5bf7bc812908ee3e62f046f5321 /net/bluetooth
parent31fa74344c1e75fd66f7b43f456ae9e0a137ba69 (diff)
at86rf230: restore trx len when needed
In the most cases the spi messages has a length of two. Currently we always set the the len field to two before transmit a spi message. In cases for read out/write in the frame buffer we need another len. This patch use trx len two as default. For the frame buffer cases we restore the trx len to two on success and failure. This will reduce the len setting of two when it's already two. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions