]> 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)
commitbc77590734f4d50b0ebc6cfa6164662a0e7c4474
tree83c538982b6033d093a58a27d6cb17ca045aa573
parentd07c1e8635a362f01280744029aa93b7abfbb9d5
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