at86rf230: rework state change and start/stop
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Jul 2014 22:20:51 +0000 (00:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 04:29:25 +0000 (21:29 -0700)
commit2e0571c0d6835e224b5863df630efbcf00696483
tree25f8254ce3e7408c8bba0a8f7ae8fd0188828b48
parent1db0558e87ddf0e4892963602b35ac079b507dd9
at86rf230: rework state change and start/stop

This patch removes the current synchron state change function and add a
new function for a state assert. Change the start and stop callbacks to
use this new synchron state change behaviour. It's a wrapper around the
async state change function.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c