[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>
This commit is contained in:
parent
3a4e5e2033
commit
3e0c0ac84c
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue