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: v3.12-rc1~4599^2~254^2~327^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ba3ee48f2e913037520486f7492c88c517bf387;p=kernel%2Fkernel-generic.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 9d9948e..5580e22 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 {