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:
cab9e3a
)
at86rf230: cleanup check on trac status
author
Alexander Aring
<alex.aring@gmail.com>
Fri, 19 Dec 2014 09:36:50 +0000
(10:36 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 19 Dec 2014 10:54:05 +0000
(11:54 +0100)
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reviewed-by: Stefan Schmidt <s.schmidt@samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c
patch
|
blob
|
history
diff --git
a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index 79fbf3809745b3318f2f08f55104ebb88ff813c3..80632fc59756c0645ea904a4dd1493e4bdec7197 100644
(file)
--- a/
drivers/net/ieee802154/at86rf230.c
+++ b/
drivers/net/ieee802154/at86rf230.c
@@
-749,13
+749,11
@@
at86rf230_tx_trac_check(void *context)
* to STATE_FORCE_TRX_OFF then STATE_TX_ON to recover the transceiver
* state to TX_ON.
*/
- if (trac)
{
+ if (trac)
at86rf230_async_state_change(lp, ctx, STATE_FORCE_TRX_OFF,
at86rf230_tx_trac_error, true);
- return;
- }
-
- at86rf230_tx_on(context);
+ else
+ at86rf230_tx_on(context);
}
static void