From 7a77b292e318e749ebc690644b9beead674a37ba Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 1 Oct 2010 15:18:06 +0200 Subject: ifx: Remove support for OFONO_IFX_MODEL option The Infineon modem model is now auto-detected, so there is no longer any need to specify it in the udev configuration rules. --- plugins/ifx.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'plugins/ifx.c') diff --git a/plugins/ifx.c b/plugins/ifx.c index 33d465e1..f48faa5a 100644 --- a/plugins/ifx.c +++ b/plugins/ifx.c @@ -472,7 +472,7 @@ error: static int ifx_enable(struct ofono_modem *modem) { struct ifx_data *data = ofono_modem_get_data(modem); - const char *device, *ldisc, *model, *audio, *loopback; + const char *device, *ldisc, *audio, *loopback; GAtSyntax *syntax; GAtChat *chat; @@ -484,13 +484,6 @@ static int ifx_enable(struct ofono_modem *modem) DBG("%s", device); - model = ofono_modem_get_string(modem, "Model"); - if (g_strcmp0(model, "XMM6260") == 0) { - data->audio_source = 4; - data->audio_dest = 3; - data->audio_context = 0; - } - audio = ofono_modem_get_string(modem, "AudioSetting"); if (g_strcmp0(audio, "FULL_DUPLEX") == 0) data->audio_setting = "0,0,0,0,0,0,0,0,0"; -- cgit v1.2.1