From: Pekka Pessi <[email protected]>

Signed-off-by: Pekka Pessi <[email protected]>
---
 src/call-barring.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/call-barring.c b/src/call-barring.c
index f3252e1..a0f961e 100644
--- a/src/call-barring.c
+++ b/src/call-barring.c
@@ -409,7 +409,7 @@ static gboolean cb_ss_control(int type, const char *sc,
        if (strlen(dn) > 0)
                goto bad_format;
 
-       if (!is_valid_password(sia))
+       if (type != SS_CONTROL_TYPE_QUERY && !is_valid_password(sia))
                goto bad_format;
 
        switch (type) {
-- 
1.6.3.3

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to