at86rf230: remove unnecessary spinlock
authorAlexander Aring <alex.aring@gmail.com>
Thu, 26 Mar 2015 11:46:29 +0000 (12:46 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Mar 2015 18:18:50 +0000 (19:18 +0100)
commit3ff7092bc83b50e831c43d83141084756f4e6ae1
treedc8fc9b0c9dd44926a8dfb3ebd31353ea272df89
parent8bf9538a5de5f6496993fb294ef606e453232ea4
at86rf230: remove unnecessary spinlock

This spinlock isn't necessary because if we are in TX_ON/TX_ARET_ON
state the transceiver can't be interrupted e.g. by receiving a frame
when a SHR was detected. In this time the transceiver doesn't leave
the TX_ON/TX_ARET_ON state until the tx complete irq change the state
into RX_AACK_ON again. This means a receiving interrupt in state
TX_ON/TX_ARET_ON can't happen and is_tx is protected by transceiver.

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