]> git.baikalelectronics.ru Git - kernel.git/commit
at86rf230: move cal_timeout to state change
authorAlexander Aring <alex.aring@gmail.com>
Thu, 30 Apr 2015 15:44:59 +0000 (17:44 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 30 Apr 2015 16:48:10 +0000 (18:48 +0200)
commitdefebce0ba8ce85ca0a41e54b0705ef83793abb3
tree83c538982b6033d093a58a27d6cb17ca045aa573
parentfecbfa2393d10493ea209120b7eca99314723d10
at86rf230: move cal_timeout to state change

This patch moves the calculation timeout of TRX_OFF to RX_AACK_ON
handling to the async state change functionality. With this patch we can
do a reset of calculation timeout when others TRX_OFF to RX_AACK_ON
happens instead of doing this on interface up only.

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