Fix powerind set.
Change-Id: I8627d875ee975f7d433189dc9254208ecce593ed
diff --git a/mbtk/mbtk_rild_v2/src/ril_dev.c b/mbtk/mbtk_rild_v2/src/ril_dev.c
index fc70b70..9f14bc6 100755
--- a/mbtk/mbtk_rild_v2/src/ril_dev.c
+++ b/mbtk/mbtk_rild_v2/src/ril_dev.c
@@ -438,8 +438,8 @@
OK
-AT*POWERIND=31£¬¾ÍÏ൱ÓÚÉèÖÃNETWORK¡¢SIM¡¢SMS¡¢CS CALL¡¢PS DATA±ä»¯Ê±¶¼²»Ö÷¶¯Éϱ¨£¬
-ÆäÖÐPS DATAĿǰÔÝʱ²»Ö§³Ö£¬Ö»ÊDZ£ÁôÁËÕâ¸ö±ê־λ,0 means resume all.
+AT*POWERIND=31,就相当于设置NETWORK、SIM、SMS、CS CALL、PS DATA变化时都不主动上报,
+其中PS DATA目前暂时不支持,只是保留了这个标志位,0 means resume all.
AP power state: 1~31 means suspend,
bitmap:
@@ -459,8 +459,7 @@
{
char cmd[100] = {0};
sprintf(cmd, "AT*POWERIND=%d", state);
- LOG("Set the powerind command is = [%s]\n", cmd);
- int err = at_send_command(port, cmd, &response);
+ err = at_send_command(port, cmd, &response);
if (err < 0 || response->success == 0){
*cme_err = at_get_cme_error(response);
goto exit;