As per the specification, if alphad identifier is
provided and is a null data object, no information
should be given to the user.
---
src/stk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/stk.c b/src/stk.c
index e933e4e..3d736dd 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -484,7 +484,7 @@ static void stk_alpha_id_set(struct ofono_stk *stk,
* and no alpha identifier cases equally. This may be changed once
* better idea is found out.
*/
- if (alpha != NULL)
+ if (alpha != NULL && alpha[0] != '\0')
stk_agent_display_action_info(stk->current_agent, alpha, icon);
g_free(alpha);
--
1.7.0.4
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono