projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ff7092
)
at86rf230: fix is_tx while error handling
author
Alexander Aring
<
[email protected]
>
Thu, 26 Mar 2015 11:46:30 +0000
(12:46 +0100)
committer
Marcel Holtmann
<
[email protected]
>
Fri, 27 Mar 2015 18:18:51 +0000
(19:18 +0100)
This patch fix the error handling when is_tx is true. The error handling
tries to get the transceiver into RX_AACK_ON mode then we need to be
sure that is_tx is false.
Signed-off-by: Alexander Aring <
[email protected]
>
Signed-off-by: Marcel Holtmann <
[email protected]
>
drivers/net/ieee802154/at86rf230.c
patch
|
blob
|
history
diff --git
a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index 1278dd5ee18726653a0121078e00106a93a1a924..5ad46f7f514f1332df5f42f6f7546aeef313da30 100644
(file)
--- a/
drivers/net/ieee802154/at86rf230.c
+++ b/
drivers/net/ieee802154/at86rf230.c
@@
-457,6
+457,7
@@
at86rf230_async_error_recover(void *context)
struct at86rf230_state_change *ctx = context;
struct at86rf230_local *lp = ctx->lp;
+ lp->is_tx = 0;
at86rf230_async_state_change(lp, ctx, STATE_RX_AACK_ON, NULL, false);
ieee802154_wake_queue(lp->hw);
}