foxconn: Rename carrier-mapping to t77w968-carrier-mapping

This commit is contained in:
Freedom Liu
2021-08-04 15:45:49 +08:00
parent 180bd63381
commit 33e2b023ef
4 changed files with 6 additions and 6 deletions

View File

@@ -726,11 +726,11 @@ libmm_plugin_foxconn_la_LDFLAGS = $(PLUGIN_COMMON_LINKER_FLAGS)
dist_udevrules_DATA += foxconn/77-mm-foxconn-port-types.rules
dist_pkgdata_DATA += foxconn/mm-foxconn-carrier-mapping.conf
dist_pkgdata_DATA += foxconn/mm-foxconn-t77w968-carrier-mapping.conf
AM_CFLAGS += \
-DTESTUDEVRULESDIR_FOXCONN=\"${srcdir}/foxconn\" \
-DTESTKEYFILE_FOXCONN=\"${srcdir}/foxconn/mm-foxconn-carrier-mapping.conf\" \
-DTESTKEYFILE_FOXCONN=\"${srcdir}/foxconn/mm-foxconn-t77w968-carrier-mapping.conf\" \
$(NULL)
endif

View File

@@ -511,7 +511,7 @@ mm_broadband_modem_mbim_foxconn_new (const gchar *device,
MM_IFACE_MODEM_SIM_HOT_SWAP_CONFIGURED, FALSE,
MM_IFACE_MODEM_PERIODIC_SIGNAL_CHECK_DISABLED, TRUE,
MM_IFACE_MODEM_LOCATION_ALLOW_GPS_UNMANAGED_ALWAYS, TRUE,
MM_IFACE_MODEM_CARRIER_CONFIG_MAPPING, PKGDATADIR "/mm-foxconn-carrier-mapping.conf",
MM_IFACE_MODEM_CARRIER_CONFIG_MAPPING, PKGDATADIR "/mm-foxconn-t77w968-carrier-mapping.conf",
NULL);
}

View File

@@ -56,9 +56,9 @@ test_dummy (void)
#if defined ENABLE_PLUGIN_FOXCONN
static void
test_foxconn (void)
test_foxconn_t77w968 (void)
{
common_test (TESTKEYFILE_FOXCONN);
common_test (TESTKEYFILE_FOXCONN_T77W968);
}
#endif
@@ -72,7 +72,7 @@ int main (int argc, char **argv)
g_test_add_func ("/MM/test-keyfiles/dummy", test_dummy);
#if defined ENABLE_PLUGIN_FOXCONN
g_test_add_func ("/MM/test-keyfiles/foxconn", test_foxconn);
g_test_add_func ("/MM/test-keyfiles/foxconn/t77w968", test_foxconn_t77w968);
#endif
return g_test_run ();