diff options
-rw-r--r-- | drivers/atm/zatm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/atm/zatm.c b/drivers/atm/zatm.c index c491ec455cac..083c5d3f2e18 100644 --- a/drivers/atm/zatm.c +++ b/drivers/atm/zatm.c | |||
@@ -800,6 +800,7 @@ static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr) | |||
800 | i = m = 1; | 800 | i = m = 1; |
801 | zatm_dev->ubr_ref_cnt++; | 801 | zatm_dev->ubr_ref_cnt++; |
802 | zatm_dev->ubr = shaper; | 802 | zatm_dev->ubr = shaper; |
803 | *pcr = 0; | ||
803 | } | 804 | } |
804 | else { | 805 | else { |
805 | if (min) { | 806 | if (min) { |