]> git.baikalelectronics.ru Git - kernel.git/commit
at86rf230: fix is_tx while error handling
authorAlexander Aring <alex.aring@gmail.com>
Thu, 26 Mar 2015 11:46:30 +0000 (12:46 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Mar 2015 18:18:51 +0000 (19:18 +0100)
commit61298ec6c0b8208945a6cff2205a5911430e76b3
tree2d3c4451b25ba6e0bb2f4f6643ab2bf7c2252ad4
parent2ccac853fb14577b6ab2083d03c1b70790548aa8
at86rf230: fix is_tx while error handling

This patch fix the error handling when is_tx is true. The error handling
tries to get the transceiver into RX_AACK_ON mode then we need to be
sure that is_tx is false.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c