RE: fix for accepting modem with baudrate 115200
"Oded Arbel" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
> -----Original Message----- > From: Anupama R [mailto:[email protected]] > Sent: Wednesday, August 28, 2002 12:46 PM > To: Oded Arbel; [email protected] > Subject: RE: fix for accepting modem with baudrate 115200 > > > Hello again > Oded, I have no idea what is meant by a unified diff, but > will do the best I can. A unified diff is created using the gnu diff program (you are running on some king of unix, don't you ?) with the -u option. for example: diff -u original.c modified.c > patch.diff Attached is the required patch for the change. -- Oded Arbel m-Wise mobile solutions [email protected] +972-9-9581711 (116) +972-67-340014 ::.. A critic is a bundle of biases held loosely together by a sense of taste. -- Whitney Balliett
smsc_at2.patch
(application/octet-stream, 317 B)
--- gw/smsc/smsc_at2.c 2002-08-25 20:46:06.000000000 +0300
+++ gw/smsc/smsc_at2.c 2002-08-28 13:57:36.000000000 +0300
@@ -800,6 +800,11 @@
speed = B57600;
break;
#endif
+#ifdef B115200
+ case 115200:
+ speed = B115200;
+ break;
+#endif
default:
speed = B9600;
}