Guest User

Untitled

a guest
Jan 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. diff --git a/openbsc/src/libbsc/bts_ipaccess_nanobts.c b/openbsc/src/libbsc/bts_ipaccess_nanobts.c
  2. index 42ac6b4..921cafd 100644
  3. --- a/openbsc/src/libbsc/bts_ipaccess_nanobts.c
  4. +++ b/openbsc/src/libbsc/bts_ipaccess_nanobts.c
  5. @@ -364,7 +364,7 @@ static int nm_statechg_event(int evt, struct nm_statechg_signal_data *nsd)
  6. /* We skip NSVC1 since we only use NSVC0 */
  7. if (nsvc->id == 1)
  8. break;
  9. - if (new_state->availability == NM_AVSTATE_OFF_LINE) {
  10. + if (new_state->availability == NM_AVSTATE_DEPENDENCY) {
  11. abis_nm_ipaccess_set_attr(bts, obj_class, bts->bts_nr,
  12. nsvc->id, 0xff,
  13. nanobts_attr_nsvc0,
  14. diff --git a/openbsc/src/libbsc/system_information.c b/openbsc/src/libbsc/system_information.c
  15. index 5814c76..f305670 100644
  16. --- a/openbsc/src/libbsc/system_information.c
  17. +++ b/openbsc/src/libbsc/system_information.c
  18. @@ -420,16 +420,7 @@ static struct gsm48_si13_info si13_default = {
  19. .t3192 = 200,
  20. .drx_timer_max = 3,
  21. .bs_cv_max = 15,
  22. - .ext_info_present = 1,
  23. - .ext_info = {
  24. - /* The values below are just guesses ! */
  25. - .egprs_supported = 0,
  26. - .use_egprs_p_ch_req = 1,
  27. - .bep_period = 5,
  28. - .pfc_supported = 0,
  29. - .dtm_supported = 0,
  30. - .bss_paging_coordination = 0,
  31. - },
  32. + .ext_info_present = 0,
  33. },
  34. .pwr_ctrl_pars = {
  35. .alpha = 10, /* a = 1.0 */
Add Comment
Please, Sign In to add comment