mirror of git://git.sysmocom.de/ofono
call-barring: SS query is made with given cls
The default class is applied in the query form when no class is specified in the SS code.
This commit is contained in:
parent
1bb7222d83
commit
0ee9b5af78
|
@ -310,7 +310,8 @@ static void cb_ss_query_next_lock(struct ofono_call_barring *cb)
|
||||||
{
|
{
|
||||||
int cls;
|
int cls;
|
||||||
|
|
||||||
cls = cb->ss_req_cls | BEARER_CLASS_DEFAULT;
|
cls = (cb->ss_req_type == SS_CONTROL_TYPE_QUERY) ?
|
||||||
|
cb->ss_req_cls : cb->ss_req_cls | BEARER_CLASS_DEFAULT;
|
||||||
|
|
||||||
cb->driver->query(cb, cb_locks[cb->query_next].fac, cls,
|
cb->driver->query(cb, cb_locks[cb->query_next].fac, cls,
|
||||||
cb_ss_query_next_lock_callback, cb);
|
cb_ss_query_next_lock_callback, cb);
|
||||||
|
|
Loading…
Reference in New Issue