rcv_resource_request(): Update meas before allocating and assigning new UL TBF

Those power params are applied in the Pkt Ul Ass sent to the
MS.
In practice it doesn't matter much because the Pkt Ul Ass message is
created later asynchronously by the scheduler (event CREATE_RLCMAC_MSG).
Still it's much cleaner applying the information before allocating the
UL-TBF, since that's an extra independent step.

Change-Id: I63133aa42dcf27a86437b1bc8dc83c30d6718028
diff --git a/src/pdch.cpp b/src/pdch.cpp
index defb6b2..48d8c73 100644
--- a/src/pdch.cpp
+++ b/src/pdch.cpp
@@ -750,6 +750,10 @@
 				ms_set_egprs_ms_class(ms, egprs_ms_class);
 		}
 
+		/* get measurements */
+		get_meas(meas, request);
+		ms_update_l1_meas(ms, meas);
+
 		ul_tbf = tbf_alloc_ul_pacch(bts, ms, trx_no());
 		if (!ul_tbf) {
 			handle_tbf_reject(bts, ms, trx_no(), ts_no);
@@ -769,10 +773,6 @@
 		ul_tbf->control_ts = ts_no;
 		/* schedule uplink assignment */
 		osmo_fsm_inst_dispatch(ul_tbf->ul_ass_fsm.fi, TBF_UL_ASS_EV_SCHED_ASS, NULL);
-
-		/* get measurements */
-		get_meas(meas, request);
-		ms_update_l1_meas(ul_tbf->ms(), meas);
 return_unref:
 		ms_unref(ms);
 		return;