mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
ath6kl: Rearrange the variable and the value position in IF condition
Signed-off-by: Raja Mani <rmani@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
2588f554f0
commit
5ba3ee48f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue