mirror of git://git.sysmocom.de/ofono
Fix CallWaiting ss request to query bearers better
This commit is contained in:
parent
b7b890fdb2
commit
1b6369d188
|
@ -328,7 +328,7 @@ static gboolean cw_ss_control(struct ofono_modem *modem, int type,
|
||||||
{
|
{
|
||||||
struct call_waiting_data *cw = modem->call_waiting;
|
struct call_waiting_data *cw = modem->call_waiting;
|
||||||
DBusConnection *conn = dbus_gsm_connection();
|
DBusConnection *conn = dbus_gsm_connection();
|
||||||
int cls = BEARER_CLASS_DEFAULT;
|
int cls = BEARER_CLASS_SS_DEFAULT;
|
||||||
DBusMessage *reply;
|
DBusMessage *reply;
|
||||||
|
|
||||||
if (!cw)
|
if (!cw)
|
||||||
|
@ -368,7 +368,7 @@ static gboolean cw_ss_control(struct ofono_modem *modem, int type,
|
||||||
cw->ss_req_cls = cls;
|
cw->ss_req_cls = cls;
|
||||||
cw->pending = dbus_message_ref(msg);
|
cw->pending = dbus_message_ref(msg);
|
||||||
|
|
||||||
cls |= BEARER_CLASS_DEFAULT;
|
cls = BEARER_CLASS_DEFAULT;
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case SS_CONTROL_TYPE_REGISTRATION:
|
case SS_CONTROL_TYPE_REGISTRATION:
|
||||||
|
|
Loading…
Reference in New Issue