All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bluetooth-next] at86rf230: fix callback for aret handling
@ 2015-05-10 20:48 Alexander Aring
  0 siblings, 0 replies; only message in thread
From: Alexander Aring @ 2015-05-10 20:48 UTC (permalink / raw)
  To: linux-wpan; +Cc: kernel, Alexander Aring

This patch fix the complete callback for going into aret on. Currently
we starting after a state change into aret on again a state change into
aret on which is not necessary.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
 drivers/net/ieee802154/at86rf230.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
index 67d00fb..63f7e6e 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at86rf230.c
@@ -1010,7 +1010,7 @@ at86rf230_xmit_start(void *context)
 		if (lp->is_tx_from_off) {
 			lp->is_tx_from_off = false;
 			at86rf230_async_state_change(lp, ctx, STATE_TX_ARET_ON,
-						     at86rf230_xmit_tx_on,
+						     at86rf230_write_frame,
 						     false);
 		} else {
 			at86rf230_async_state_change(lp, ctx, STATE_TX_ON,
-- 
2.3.7


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-10 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-10 20:48 [PATCH bluetooth-next] at86rf230: fix callback for aret handling Alexander Aring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.