From 92d44e5023038b1d5a3431b3fc5d553cedd0fb65 Mon Sep 17 00:00:00 2001 From: Giovanni Maruzzelli Date: Tue, 6 Nov 2012 12:24:17 +0100 Subject: [PATCH] FS-4691 gsmopen: patch from Ivan Mironov allowing for longer device names, useful for symlinks created by udev --- src/mod/endpoints/mod_gsmopen/gsmopen.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_gsmopen/gsmopen.h b/src/mod/endpoints/mod_gsmopen/gsmopen.h index b5404ae6a9..af17a9f416 100644 --- a/src/mod/endpoints/mod_gsmopen/gsmopen.h +++ b/src/mod/endpoints/mod_gsmopen/gsmopen.h @@ -331,7 +331,7 @@ struct private_object { unsigned long ib_failed_calls; unsigned long ob_failed_calls; - char controldevice_name[50]; /*!< \brief name of the serial device controlling the interface, possibly none */ + char controldevice_name[512]; /*!< \brief name of the serial device controlling the interface, possibly none */ int controldevprotocol; /*!< \brief which protocol is used for serial control of this interface */ char controldevprotocolname[50]; /*!< \brief name of the serial device controlling protocol, one of "at" "fbus2" "no_serial" "alsa_voicemodem" */ int controldevfd; /*!< \brief serial controlling file descriptor for this interface */ @@ -469,7 +469,7 @@ struct private_object { int network_creg_not_supported; char creg[128]; - char controldevice_audio_name[50]; + char controldevice_audio_name[512]; int controldev_audio_fd; int controldevice_audio_speed; int controldev_audio_dead;