From: Raja Mani Date: Tue, 19 Jul 2011 13:57:31 +0000 (+0530) Subject: ath6kl: Rearrange the variable and the value position in IF condition X-Git-Tag: MMI-PSA29.97-13-9~18194^2~254^2~327^2~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ba3ee48f2e913037520486f7492c88c517bf387;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ath6kl: Rearrange the variable and the value position in IF condition Signed-off-by: Raja Mani Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath6kl/htc.c b/drivers/net/wireless/ath/ath6kl/htc.c index 9d9948ed18df..5580e22c19f4 100644 --- a/drivers/net/wireless/ath/ath6kl/htc.c +++ b/drivers/net/wireless/ath/ath6kl/htc.c @@ -1229,7 +1229,7 @@ static void htc_proc_cred_rpt(struct htc_target *target, endpoint->ep_st.cred_rpt_from_other += 1; } - if (ENDPOINT_0 == rpt->eid) + if (rpt->eid == ENDPOINT_0) /* always give endpoint 0 credits back */ endpoint->cred_dist.credits += rpt->credits; else {