Fix: Interrogation of barring does not need pin

This commit is contained in:
Pekka Pessi 2010-03-18 16:44:27 +02:00 committed by Denis Kenzior
parent 7b62731ded
commit 3f6da155bd
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ static gboolean cb_ss_control(int type, const char *sc,
if (strlen(dn) > 0)
goto bad_format;
if (!is_valid_pin(sia))
if (type != SS_CONTROL_TYPE_QUERY && !is_valid_pin(sia))
goto bad_format;
switch (type) {