Skip to content

Commit

Permalink
ath6kl: Rearrange the variable and the value position in IF condition
Browse files Browse the repository at this point in the history
Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
  • Loading branch information
Raja Mani authored and Kalle Valo committed Aug 9, 2011
1 parent 2588f55 commit 5ba3ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/ath6kl/htc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5ba3ee4

Please sign in to comment.