Commit fb9f84c3 authored by Lionel Gauthier's avatar Lionel Gauthier

patches13/0013-not-sure-how-to-fix-this-correctly.patch

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7059 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 39afdcb6
...@@ -889,7 +889,7 @@ int emm_proc_plmn_selection_end(int found, tac_t tac, ci_t ci, AcT_t rat) ...@@ -889,7 +889,7 @@ int emm_proc_plmn_selection_end(int found, tac_t tac, ci_t ci, AcT_t rat)
* Or terminate the PLMN selection procedure * Or terminate the PLMN selection procedure
*/ */
if (!select_next_plmn) { if (!select_next_plmn) {
if (!(_emm_plmn_list.fplmn) < 0) { if (!(_emm_plmn_list.fplmn) < 0) { // FIXME this comparison makes no sense (bool < 0)
/* There were one or more PLMNs which were available and allowable, /* There were one or more PLMNs which were available and allowable,
* but an LR failure made registration on those PLMNs unsuccessful * but an LR failure made registration on those PLMNs unsuccessful
* or an entry in any of the forbidden area lists prevented a * or an entry in any of the forbidden area lists prevented a
......
...@@ -57,7 +57,7 @@ uint8_t pdcp_get_dc_filed(unsigned char* pdu_buffer) ...@@ -57,7 +57,7 @@ uint8_t pdcp_get_dc_filed(unsigned char* pdu_buffer)
return 0; return 0;
dc = (uint8_t)pdu_buffer[0] & 0xF0; // Reset D/C field dc = (uint8_t)pdu_buffer[0] & 0xF0; // Reset D/C field
dc >>= 8; dc >>= 8; // FIXME this is broken!!! returns 0 all the time
return dc; return dc;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment