at86rf230: change state change if from trx_off
authorAlexander Aring <alex.aring@gmail.com>
Thu, 30 Apr 2015 15:45:02 +0000 (17:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 30 Apr 2015 16:48:11 +0000 (18:48 +0200)
commit8500920317813ed420311d9cf16c345fc216fb86
treec840fca0c012a80117ebe29c949b4812037748fa
parent2f8cdd95097bdcd8d1e2b02edb0a9deb1e034a7e
at86rf230: change state change if from trx_off

If a transmit ends in a calibration which means the transceiver do a
TRX_OFF state change, we can directly change into TX_ARET state instead
doing a TX_ON to TX_ARET statechange.

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