Commit 3e0c0ac8 authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

[ATM]: [zatm] always *pcr in alloc_shaper()

Signed-off-by: default avatarChas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3a4e5e20
...@@ -800,6 +800,7 @@ static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr) ...@@ -800,6 +800,7 @@ static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr)
i = m = 1; i = m = 1;
zatm_dev->ubr_ref_cnt++; zatm_dev->ubr_ref_cnt++;
zatm_dev->ubr = shaper; zatm_dev->ubr = shaper;
*pcr = 0;
} }
else { else {
if (min) { if (min) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment