Setting Logical HAL state TRUE on creation.
authorSuresh Kumar Narasimhaiah <suresh.n@samsung.com>
Fri, 15 Mar 2013 09:00:20 +0000 (14:30 +0530)
committerwootak.jung <wootak.jung@samsung.com>
Sun, 24 Mar 2013 08:38:44 +0000 (17:38 +0900)
Change-Id: I3f7406d114445addcc5777dc58556f1b5d33dcb6

src/config.c

index 7390015fea70aa6ba42a3ca5d01bd486fa3d5cc7..4bcc00a6265c5b8461f7b262d3557ef9146122f1 100644 (file)
@@ -169,6 +169,10 @@ static void _on_cmux_channel_setup(int channel_id, TcoreHal *hal,
 
        /* Assign specifc Core Object types to the Logical HAL (CMUX Channel) */
        _assign_objects_to_hal(channel_id, hal);
+
+       /* Set HAL state to Power ON (TRUE) */
+       tcore_hal_set_power_state(hal, TRUE);
+       dbg("HAL Power State: Power ON")
 }
 
 static void _on_response_cmux_init(TcorePending *p, int data_len,