projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rk3288:pwm_regulator:slove pwm io set low when power on
[firefly-linux-kernel-4.4.55.git]
/
net
/
sched
/
sch_generic.c
diff --git
a/net/sched/sch_generic.c
b/net/sched/sch_generic.c
index 20224086cc28abc30a63ef95964253fd2a55f183..a7f838b45dc8546acd88cde01da0c20326419f21 100644
(file)
--- a/
net/sched/sch_generic.c
+++ b/
net/sched/sch_generic.c
@@
-908,6
+908,7
@@
void psched_ratecfg_precompute(struct psched_ratecfg *r,
memset(r, 0, sizeof(*r));
r->overhead = conf->overhead;
r->rate_bps = (u64)conf->rate << 3;
+ r->linklayer = (conf->linklayer & TC_LINKLAYER_MASK);
r->mult = 1;
/*
* Calibrate mult, shift so that token counting is accurate