[layer23/mobile] Improvement and fixes of idle mode process
[osmocom-bb.git] / src / host / layer23 / src / common / l1ctl.c
index bd7c67e..5e1e3cc 100644 (file)
@@ -94,7 +94,9 @@ static int rx_l1_fbsb_conf(struct osmocom_ms *ms, struct msgb *msg)
 
        if (sb->result != 0) {
                LOGP(DL1C, LOGL_ERROR, "FBSB RESP: result=%u\n", sb->result);
-               osmo_signal_dispatch(SS_L1CTL, S_L1CTL_FBSB_ERR, ms);
+               fr.ms = ms;
+               fr.band_arfcn = ntohs(dl->band_arfcn);
+               osmo_signal_dispatch(SS_L1CTL, S_L1CTL_FBSB_ERR, &fr);
                return 0;
        }
 
@@ -104,6 +106,7 @@ static int rx_l1_fbsb_conf(struct osmocom_ms *ms, struct msgb *msg)
        fr.ms = ms;
        fr.snr = dl->snr;
        fr.bsic = sb->bsic;
+       fr.band_arfcn = ntohs(dl->band_arfcn);
        osmo_signal_dispatch(SS_L1CTL, S_L1CTL_FBSB_RESP, &fr);
 
        return 0;