bsc: Move the bsc_filter to use the osmo_bsc_sccp_con
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
index a4a5447..42a3897 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_bssap.c
@@ -297,7 +297,6 @@
 {
 	struct msgb *resp;
 	struct osmo_msc_data *msc;
-	struct gsm_network *network;
 	struct tlv_parsed tp;
 	uint8_t *data;
 	uint16_t cic;
@@ -311,7 +310,6 @@
 		return -1;
 	}
 
-	network = conn->conn->bts->network;
 	tlv_parse(&tp, gsm0808_att_tlvdef(), msg->l4h + 1, length - 1, 0, 0);
 
 	if (!TLVP_PRESENT(&tp, GSM0808_IE_CHANNEL_TYPE)) {
@@ -358,7 +356,7 @@
 	 * the correct value.
 	 */
 	full_rate = 0;
-	msc = &network->bsc_data->msc;
+	msc = conn->msc;
 	for (supported = 0;
 		chan_mode == GSM48_CMODE_SIGN && supported < msc->audio_length;
 		++supported) {