From 9239985229e29794ee4d4afc8a615cfaf5c9f6d0 Mon Sep 17 00:00:00 2001 From: "sunil85.kim" Date: Thu, 2 May 2013 17:42:28 +0900 Subject: [PATCH] Update for license #2 Change-Id: Id3b45db5d32e4e4c46e51f5dfa81f8cb45e00368 --- include/mobileap.h | 2 +- include/mobileap_agent.h | 2 +- include/mobileap_bluetooth.h | 2 +- include/mobileap_common.h | 2 +- include/mobileap_handler.h | 2 +- include/mobileap_network.h | 2 +- include/mobileap_notification.h | 2 +- include/mobileap_usb.h | 2 +- include/mobileap_wifi.h | 2 +- src/mobileap_main.c | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/mobileap.h b/include/mobileap.h index 0707823..b4bb70d 100644 --- a/include/mobileap.h +++ b/include/mobileap.h @@ -1,5 +1,5 @@ /* - * mobile-agent + * mobileap-agent * * Copyright 2012-2013 Samsung Electronics Co., Ltd * diff --git a/include/mobileap_agent.h b/include/mobileap_agent.h index 1a4ecb6..f619316 100644 --- a/include/mobileap_agent.h +++ b/include/mobileap_agent.h @@ -1,5 +1,5 @@ /* - * mobile-agent + * mobileap-agent * * Copyright 2012-2013 Samsung Electronics Co., Ltd * diff --git a/include/mobileap_bluetooth.h b/include/mobileap_bluetooth.h index d1a0b33..44cfe8c 100644 --- a/include/mobileap_bluetooth.h +++ b/include/mobileap_bluetooth.h @@ -1,5 +1,5 @@ /* - * mobile-agent + * mobileap-agent * * Copyright 2012-2013 Samsung Electronics Co., Ltd * diff --git a/include/mobileap_common.h b/include/mobileap_common.h index ecc1c1d..b2a42ac 100644 --- a/include/mobileap_common.h +++ b/include/mobileap_common.h @@ -1,5 +1,5 @@ /* - * mobile-agent + * mobileap-agent * * Copyright 2012-2013 Samsung Electronics Co., Ltd * diff --git a/include/mobileap_handler.h b/include/mobileap_handler.h index f86501b..b2ff6f7 100644 --- a/include/mobileap_handler.h +++ b/include/mobileap_handler.h @@ -1,5 +1,5 @@ /* - * mobile-agent + * mobileap-agent * * Copyright 2012-2013 Samsung Electronics Co., Ltd * diff --git a/include/mobileap_network.h b/include/mobileap_network.h index bfeae97..3b56dc4 100644 --- a/include/mobileap_network.h +++ b/include/mobileap_network.h @@ -1,5 +1,5 @@ /* - * mobile-agent + * mobileap-agent * * Copyright 2012-2013 Samsung Electronics Co., Ltd * diff --git a/include/mobileap_notification.h b/include/mobileap_notification.h index 256610d..6a7ee31 100644 --- a/include/mobileap_notification.h +++ b/include/mobileap_notification.h @@ -1,5 +1,5 @@ /* - * mobile-agent + * mobileap-agent * * Copyright 2012-2013 Samsung Electronics Co., Ltd * diff --git a/include/mobileap_usb.h b/include/mobileap_usb.h index fa30730..14c1a37 100644 --- a/include/mobileap_usb.h +++ b/include/mobileap_usb.h @@ -1,5 +1,5 @@ /* - * mobile-agent + * mobileap-agent * * Copyright 2012-2013 Samsung Electronics Co., Ltd * diff --git a/include/mobileap_wifi.h b/include/mobileap_wifi.h index ccf91db..01f3147 100644 --- a/include/mobileap_wifi.h +++ b/include/mobileap_wifi.h @@ -1,5 +1,5 @@ /* - * mobile-agent + * mobileap-agent * * Copyright 2012-2013 Samsung Electronics Co., Ltd * diff --git a/src/mobileap_main.c b/src/mobileap_main.c index 0fd1b2f..c0ba520 100644 --- a/src/mobileap_main.c +++ b/src/mobileap_main.c @@ -148,7 +148,6 @@ gboolean _mobileap_set_state(int state) DBG("Before mobileap_state : %d\n", mobileap_state); mobileap_state |= state; - DBG("After mobileap_state : %d\n", mobileap_state); vconf_ret = vconf_set_int(VCONFKEY_MOBILE_HOTSPOT_MODE, mobileap_state); @@ -218,6 +217,7 @@ static void __block_device_sleep(void) int ret = 0; ret = pm_lock_state(LCD_OFF, STAY_CUR_STATE, 0); + if (ret < 0) ERR("PM control [ERROR] result = %d\n", ret); else -- 2.7.4