Skip to content

Commit

Permalink
[ATM]: [zatm] always *pcr in alloc_shaper()
Browse files Browse the repository at this point in the history
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Chas Williams authored and David S. Miller committed Oct 4, 2006
1 parent 3a4e5e2 commit 3e0c0ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/atm/zatm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3e0c0ac

Please sign in to comment.