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

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

parent 3a4e5e20
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {