1
0
Fork 0

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

Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
hifive-unleashed-5.1
Chas Williams 2006-10-03 16:28:31 -07:00 committed by David S. Miller
parent 3a4e5e2033
commit 3e0c0ac84c
1 changed files with 1 additions and 0 deletions

View File

@ -800,6 +800,7 @@ static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr)
i = m = 1;
zatm_dev->ubr_ref_cnt++;
zatm_dev->ubr = shaper;
*pcr = 0;
}
else {
if (min) {