From 1b6369d1880ebfc7b343b47abc052fb42347de37 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 28 May 2009 11:20:40 -0500 Subject: [PATCH] Fix CallWaiting ss request to query bearers better --- src/call-waiting.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/call-waiting.c b/src/call-waiting.c index 312d9ac..e91218f 100644 --- a/src/call-waiting.c +++ b/src/call-waiting.c @@ -328,7 +328,7 @@ static gboolean cw_ss_control(struct ofono_modem *modem, int type, { struct call_waiting_data *cw = modem->call_waiting; DBusConnection *conn = dbus_gsm_connection(); - int cls = BEARER_CLASS_DEFAULT; + int cls = BEARER_CLASS_SS_DEFAULT; DBusMessage *reply; if (!cw) @@ -368,7 +368,7 @@ static gboolean cw_ss_control(struct ofono_modem *modem, int type, cw->ss_req_cls = cls; cw->pending = dbus_message_ref(msg); - cls |= BEARER_CLASS_DEFAULT; + cls = BEARER_CLASS_DEFAULT; switch (type) { case SS_CONTROL_TYPE_REGISTRATION: -- 2.7.4