Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8c7e3db authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann
Browse files

at86rf230: cleanup check on trac status

parent cab9e3a0
Loading
Loading
Loading
Loading
+3 −5
Original line number Original line Diff line number Diff line
@@ -749,12 +749,10 @@ at86rf230_tx_trac_check(void *context)
	 * to STATE_FORCE_TRX_OFF then STATE_TX_ON to recover the transceiver
	 * to STATE_FORCE_TRX_OFF then STATE_TX_ON to recover the transceiver
	 * state to TX_ON.
	 * state to TX_ON.
	 */
	 */
	if (trac) {
	if (trac)
		at86rf230_async_state_change(lp, ctx, STATE_FORCE_TRX_OFF,
		at86rf230_async_state_change(lp, ctx, STATE_FORCE_TRX_OFF,
					     at86rf230_tx_trac_error, true);
					     at86rf230_tx_trac_error, true);
		return;
	else
	}

		at86rf230_tx_on(context);
		at86rf230_tx_on(context);
}
}