at86rf230: remove unnecessary tx state change
authorAlexander Aring <alex.aring@gmail.com>
Thu, 30 Apr 2015 15:45:01 +0000 (17:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 30 Apr 2015 16:48:10 +0000 (18:48 +0200)
commit2f8cdd95097bdcd8d1e2b02edb0a9deb1e034a7e
tree50abf418b7d47369f77675832822d1e57d8a9a9b
parent3b951ca7d2772834c7ca828f0fe5745480426982
at86rf230: remove unnecessary tx state change

All supported transceivers can do a valid state change from TRX_OFF to
AACK_ON. This patch removes the state change chain from TRX_OFF ->
TX_ON -> AACK_ON instead we doing a directly state change from TRX_OFF
to AACK_ON.

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