Move dl_tbf_preemptive_retransmission field from BTS to PCU

Change-Id: I3ab32fcafe83f3ecb116a5b8a05f58f3fddc5451
diff --git a/src/pcu_vty.c b/src/pcu_vty.c
index 06e1674..727712d 100644
--- a/src/pcu_vty.c
+++ b/src/pcu_vty.c
@@ -231,7 +231,7 @@
 		vty_out(vty, " two-phase-access%s", VTY_NEWLINE);
 	vty_out(vty, " alpha %d%s", the_pcu->vty.alpha, VTY_NEWLINE);
 	vty_out(vty, " gamma %d%s", the_pcu->vty.gamma * 2, VTY_NEWLINE);
-	if (!bts->dl_tbf_preemptive_retransmission)
+	if (!the_pcu->vty.dl_tbf_preemptive_retransmission)
 		vty_out(vty, " no dl-tbf-preemptive-retransmission%s", VTY_NEWLINE);
 	if (strcmp(the_pcu->pcu_sock_path, PCU_SOCK_DEFAULT))
 		vty_out(vty, " pcu-socket %s%s", the_pcu->pcu_sock_path, VTY_NEWLINE);
@@ -869,10 +869,7 @@
 	   RETRANSMISSION_STR " (enabled by default)",
 	   CMD_ATTR_IMMEDIATE)
 {
-	struct gprs_rlcmac_bts *bts = bts_main_data();
-
-	bts->dl_tbf_preemptive_retransmission = true;
-
+	the_pcu->vty.dl_tbf_preemptive_retransmission = true;
 	return CMD_SUCCESS;
 }
 
@@ -882,10 +879,7 @@
 	   NO_STR RETRANSMISSION_STR,
 	   CMD_ATTR_IMMEDIATE)
 {
-	struct gprs_rlcmac_bts *bts = bts_main_data();
-
-	bts->dl_tbf_preemptive_retransmission = false;
-
+	the_pcu->vty.dl_tbf_preemptive_retransmission = false;
 	return CMD_SUCCESS;
 }