Bug 86498 - [network]qser_nw_set_config网络设置无法设置组合网络只能进行only设置
Change-Id: I44611c0aa29c1b6442bb89e361da3117d2c23e26
diff --git a/mbtk/test/liblynq_lib/lynq_nw_test.c b/mbtk/test/liblynq_lib/lynq_nw_test.c
old mode 100755
new mode 100644
index 725ad69..39bc5a0
--- a/mbtk/test/liblynq_lib/lynq_nw_test.c
+++ b/mbtk/test/liblynq_lib/lynq_nw_test.c
@@ -255,30 +255,8 @@
fflush(stdin);
opt = atoi(operator);
QSER_NW_CONFIG_INFO_T t_info;
- switch(opt)
- {
- case 1:
- t_info.preferred_nw_mode = QSER_NW_MODE_GSM;//2G
- break;
- case 2:
- t_info.preferred_nw_mode = QSER_NW_MODE_WCDMA;//3G
- break;
- case 4:
- t_info.preferred_nw_mode = QSER_NW_MODE_CDMA;//3G no support
- break;
- case 8:
- t_info.preferred_nw_mode = QSER_NW_MODE_EVDO;//3G no support
- break;
- case 16:
- t_info.preferred_nw_mode = QSER_NW_MODE_LTE;//4G
- break;
- case 32:
- t_info.preferred_nw_mode = QSER_NW_MODE_TDSCDMA;//3G no support
- break;
- default:
- t_info.preferred_nw_mode = QSER_NW_MODE_LTE;//4G
- break;
- }
+
+ t_info.preferred_nw_mode = opt;
ret = qser_nw_set_config(handle, &t_info);
printf("qser_nw_set_config ret = %d\n", ret);
}