at86rf230: add missing error handling
authorAlexander Aring <alex.aring@gmail.com>
Tue, 7 Oct 2014 08:38:26 +0000 (10:38 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 25 Oct 2014 05:56:22 +0000 (07:56 +0200)
commitd06c21990fbbca644a31a3c851c22a8d1f5d0e66
tree4ac719d02f7f0c6d9588247752add29a3bf19da3
parent464f029915de6379c8fcd18d5dd49e5b3d1a2cc5
at86rf230: add missing error handling

This patch adds an async error handling function if sync state change
runs into a timeout. The async error handling function tries to recover
the phy state machine into a valid state.

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