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

Commit 895dc386 authored by Mohammed Shafi Shajakhan's avatar Mohammed Shafi Shajakhan Committed by Kalle Valo
Browse files

ath6kl: Use standard way to assign the boolean variable



Assign 'true' to the bool variable instead of needless typecasting.

Signed-off-by: default avatarMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 050757da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1184,7 +1184,7 @@ static void reset_endpoint_states(struct htc_target *target)
		INIT_LIST_HEAD(&ep->pipe.tx_lookup_queue);
		INIT_LIST_HEAD(&ep->rx_bufq);
		ep->target = target;
		ep->pipe.tx_credit_flow_enabled = (bool) 1; /* FIXME */
		ep->pipe.tx_credit_flow_enabled = true;
	}
}