diff --git a/code/application/source/sf_app/code/source/4gMng/sf_eg91_sim.c b/code/application/source/sf_app/code/source/4gMng/sf_eg91_sim.c index 4127e3e96..cd12b26c8 100755 --- a/code/application/source/sf_app/code/source/4gMng/sf_eg91_sim.c +++ b/code/application/source/sf_app/code/source/4gMng/sf_eg91_sim.c @@ -2403,7 +2403,7 @@ SINT32 sf_module_complete_init(void) SLOGD(" s\n"); //needRecordLogFlag = 1; - puiPara->NetGeneration = SF_NET_NO; + //puiPara->NetGeneration = SF_NET_NO; sf_gsm_para_buff_clear(); while(sf_app_while_flag()) @@ -3996,7 +3996,7 @@ SINT32 sf_auto_net_reg(void) SF_LOG(" s\n"); //needRecordLogFlag = 1; - puiPara->NetGeneration = 0; + //puiPara->NetGeneration = 0; sf_gsm_para_buff_clear(); diff --git a/code/application/source/sf_app/code/source/4gMng/sf_ftp.c b/code/application/source/sf_app/code/source/4gMng/sf_ftp.c index b33b3b98b..2f4059afc 100755 --- a/code/application/source/sf_app/code/source/4gMng/sf_ftp.c +++ b/code/application/source/sf_app/code/source/4gMng/sf_ftp.c @@ -920,20 +920,20 @@ SINT32 sf_pic_send_ftp(void) } piccount = pThumbFileCfg->filecnt; - if(4 == pPara->NetGeneration) - { - if(piccount >= 2) - { - piccount = ((pPara->SendPicSize == 2) ? 2 : piccount); - } - } - else - { - if(piccount >= 1) - { - piccount = 1; - } - } + // if(4 == pPara->NetGeneration) + // { + // if(piccount >= 2) + // { + // piccount = ((pPara->SendPicSize == 2) ? 2 : piccount); + // } + // } + // else + // { + // if(piccount >= 1) + // { + // piccount = 1; + // } + // } MLOGI("NetGeneration:%dG,tempPicSize=%d,piccount=%d,filecnt=%d\n", pPara->NetGeneration, tempPicSize, piccount, pThumbFileCfg->filecnt); //printf("[%s:%d]piccount=%d\n", __FUNCTION__, __LINE__, piccount);