bug in common/oml.c of osmo-bts?

Andreas Eversberg andreas at eversberg.eu
Tue Jul 3 18:55:50 UTC 2012


hi laforge,

just curios about two lines at oml.c:

rlcc->parameter[T_DL_TBF_EXT] = *(uint16_t *)cur * 10;
rlcc->parameter[T_UL_TBF_EXT] = *(uint16_t *)cur * 10;

1. isnt it * 2 instead of * 10? i just saw a comment at openbsc for 0, 
250 which says: 500.
2. did you forget ntoh(*(uint16_t *)cur)?

regards,

andreas





More information about the osmocom-net-gprs mailing list