at86rf230: cleanup check on trac status
Subsystems (2)
Alexander Aring
maintainerPATCH RESEND 1/1 at86rf230: cleanup check on trac status
--- drivers/net/ieee802154/at86rf230.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
drivers/net/ieee802154/at86rf230.c +3 -5
@@ -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
Signature · 1 line
2.2.0
Hi Alex,
Quoted 5 lines
Signed-off-by Alexander Aring <[email protected]>Reviewed-by Stefan Schmidt <[email protected]>---
drivers/net/ieee802154/at86rf230.c| 8 +++-----1 file changed, 3 insertions(+), 5 deletions(-)
patch has been applied to bluetooth-next tree.
I would however prefer that even these small patches get a commit message explaining why that is correct and now was wrong before. Does not have to be anything big, but at least some sort of commit message body clearly explaining it would be helpful.
Regards
Marcel
Alexander Aring
maintainerQuoted 8 lines · Marcel Holtmann
Hi Alex,
Quoted 5 lines
Signed-off-by Alexander Aring <[email protected]>Reviewed-by Stefan Schmidt <[email protected]>---
drivers/net/ieee802154/at86rf230.c| 8 +++-----1 file changed, 3 insertions(+), 5 deletions(-)
Quoted 4 lines
patch has been applied to bluetooth-next tree.
I would however prefer that even these small patches get a commit message explaining why that is correct and now was wrong before. Does not have to be anything big, but at least some sort of commit message body clearly explaining it would be helpful.
Okay, thanks.
I need to admit that writing commit messages in some cases is more work than to write the programming changes.
Nevertheless I will try to change that.
- Alex