diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-03-26 07:46:29 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-03-27 14:18:50 -0400 |
commit | 3ff7092bc83b50e831c43d83141084756f4e6ae1 (patch) | |
tree | dc8fc9b0c9dd44926a8dfb3ebd31353ea272df89 /net/lapb/lapb_in.c | |
parent | 8bf9538a5de5f6496993fb294ef606e453232ea4 (diff) |
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>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions