From: Timo Mueller <[email protected]>
---
drivers/hfpmodem/vendor.h | 3 ++-
drivers/hfpmodem/voicecall.c | 12 ++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/hfpmodem/vendor.h b/drivers/hfpmodem/vendor.h
index fca847a..597ddee 100644
--- a/drivers/hfpmodem/vendor.h
+++ b/drivers/hfpmodem/vendor.h
@@ -21,5 +21,6 @@
*/
enum ofono_vendor {
- OFONO_VENDOR_GENERIC = 0
+ OFONO_VENDOR_GENERIC = 0,
+ OFONO_VENDOR_NOKIA_N9
};
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c
index 08e13f0..b7a9ec5 100644
--- a/drivers/hfpmodem/voicecall.c
+++ b/drivers/hfpmodem/voicecall.c
@@ -95,6 +95,18 @@ static GSList *find_dialing(GSList *calls)
return c;
}
+static gboolean needs_callheld_clcc_quirk(int vendor)
+{
+ switch (vendor) {
+ case OFONO_VENDOR_NOKIA_N9:
+ return TRUE;
+ case OFONO_VENDOR_GENERIC:
+ return FALSE;
+ }
+
+ return FALSE;
+}
+
static void voicecall_notify(gpointer value, gpointer user)
{
struct ofono_call *call = value;
--
1.7.11.7
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono