mobile: enhance padding routing in a TS29244 IE
This commit is contained in:
parent
8b355936d8
commit
a553247d0f
|
@ -2442,9 +2442,9 @@ class DLBufferingSuggestedPacketCount(Uint):
|
|||
# when a value is set
|
||||
def set_val(self, val):
|
||||
self._bl = val.bit_length()
|
||||
while self._bl % 8:
|
||||
# need to increase bl
|
||||
self._bl += 1
|
||||
if self._bl % 8:
|
||||
# need to increase the bl to the next multiple of 8 bits
|
||||
self._bl += 8 - (self._bl % 8)
|
||||
Uint.set_val(self, val)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue