VOL-849: Initial changes to compile with BAL 2.6
The OPENOLT_BAL_2.6.0.1.patch file is required to compile this commit.
This patch file has been uploaded to the Broadcom common CS3233745.
Change-Id: I8dbaca0f56cdf6058603371e9c30d2ce6b04df40
diff --git a/src/core.cc b/src/core.cc
index b5fe90d..c77048c 100644
--- a/src/core.cc
+++ b/src/core.cc
@@ -92,9 +92,14 @@
memcpy(serial_num.vendor_specific, vendor_specific, 4);
BCMBAL_CFG_PROP_SET(&sub_term_obj, subscriber_terminal, serial_number, serial_num);
+#if 0
+ // Commenting out as this is causing issues with onu activation
+ // with BAL 2.6 (Broadcom CS5248819).
+
// FIXME - Use a default (all zeros) registration id.
memset(registration_id.arr, 0, sizeof(registration_id.arr));
BCMBAL_CFG_PROP_SET(&sub_term_obj, subscriber_terminal, registration_id, registration_id);
+#endif
BCMBAL_CFG_PROP_SET(&sub_term_obj, subscriber_terminal, admin_state, BCMBAL_STATE_UP);