gbproxy: Rename identifiers related to IMSI matching

This patch renames gbproxy_check_tlli() to
gbproxy_imsi_matches() and struct tlli_info's
enable_patching to imsi_matches.

It's meant to be more obvious and consistent this way.

Sponsored-by: On-Waves ehf
diff --git a/openbsc/tests/gbproxy/gbproxy_test.c b/openbsc/tests/gbproxy/gbproxy_test.c
index 80bf905..b0a39c0 100644
--- a/openbsc/tests/gbproxy/gbproxy_test.c
+++ b/openbsc/tests/gbproxy/gbproxy_test.c
@@ -151,7 +151,7 @@
 			if (stored_msgs)
 				fprintf(stream, ", STORED %d", stored_msgs);
 
-			if (cfg->check_imsi && tlli_info->enable_patching)
+			if (cfg->check_imsi && tlli_info->imsi_matches)
 				fprintf(stream, ", IMSI matches");
 
 			if (tlli_info->imsi_acq_pending)
@@ -3612,13 +3612,13 @@
 	const uint8_t *imsi, size_t imsi_len, time_t now)
 {
 	struct gbproxy_tlli_info *tlli_info;
-	int enable_patching = -1;
+	int imsi_matches = -1;
 	int tlli_already_known = 0;
 
 	/* Check, whether the IMSI matches */
 	if (gprs_is_mi_imsi(imsi, imsi_len)) {
-		enable_patching = gbproxy_check_imsi(peer, imsi, imsi_len);
-		if (enable_patching < 0)
+		imsi_matches = gbproxy_check_imsi(peer, imsi, imsi_len);
+		if (imsi_matches < 0)
 			return NULL;
 	}
 
@@ -3652,8 +3652,8 @@
 	gbproxy_attach_tlli_info(peer, now, tlli_info);
 	gbproxy_update_tlli_info(tlli_info, imsi, imsi_len);
 
-	if (enable_patching >= 0)
-		tlli_info->enable_patching = enable_patching;
+	if (imsi_matches >= 0)
+		tlli_info->imsi_matches = imsi_matches;
 
 	return tlli_info;
 }