Change-Id: I315b322be5fbecaa814bf9bfb404e1d626447804
Signed-off-by: Ji-hoon Lee <dalton.lee@samsung.com>
}
ma_state_e state;
- ma_client_get_client_state(g_ma, &state);
+ if (0 != ma_client_get_client_state(g_ma, &state)) {
+ SLOG(LOG_ERROR, TAG_MAC, "[ERROR] A handle is not available"); //LCOV_EXCL_LINE
+ }
/* check state */
switch (state) {
}
ma_state_e state;
- ma_ui_client_get_client_state(g_ma_ui, &state);
+ if (0 != ma_ui_client_get_client_state(g_ma_ui, &state)) {
+ SLOG(LOG_ERROR, TAG_MAUI, "[UI ERROR] A handle is not available");
+ }
/* check state */
switch (state) {