CID4 and CID3 Change

if ((value >= 1) || (value <= 0x4a)) {

to  if ((value >= 1) && (value <= 0x4a)) {

svn path=/trunk/; revision=17533
This commit is contained in:
Anders Broman 2006-03-08 18:58:08 +00:00
parent b4d028c47e
commit def11f9418

View File

@ -1010,7 +1010,7 @@ translate_abqp_max_bit_rate_for_dl_extended(guint8 value, build_info_t *bi _U_)
if (value == 0) {
return "Use the value indicated by the Maximum bit rate for downlink";
}
if ((value >= 1) || (value <= 0x4a)) {
if ((value >= 1) && (value <= 0x4a)) {
g_snprintf(result, BSSGP_TRANSLATION_MAX_LEN, "%u kbps", 8600 + value * 100);
return result;
}
@ -1025,7 +1025,7 @@ translate_abqp_guaranteed_bit_rate_for_dl_extended(guint8 value, build_info_t *b
if (value == 0) {
return "Use the value indicated by the Guaranteed bit rate for downlink";
}
if ((value >= 1) || (value <= 0x4a)) {
if ((value >= 1) && (value <= 0x4a)) {
g_snprintf(result, BSSGP_TRANSLATION_MAX_LEN, "%u kbps", 8600 + value * 100);
return result;
}