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.2-rc1~129^2~422^2^2~19^2~20 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ba3ee48f2e913037520486f7492c88c517bf387;p=pandora-kernel.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 {