Aleksander Morgado
b39ae775d6
serial: clear serial info struct before calling ioctl()
...
We need the kernel driver to give a proper value for the 'closing_wait'
variable, but don't assume it will.
This should solve the following kind of issues reported by valgrind:
==8985== Conditional jump or move depends on uninitialised value(s)
==8985== at 0x4409A6: mm_serial_port_close (mm-serial-port.c:932)
==8985== by 0x41A420: disable_all_done (mm-generic-cdma.c:753)
==8985== by 0x4125A4: mm_manager_shutdown (mm-manager.c:1130)
==8985== by 0x40DE35: main (main.c:203)
2012-12-03 16:45:41 +01:00
..
2012-10-25 16:19:28 +02:00
2010-04-09 19:38:22 -07:00
2010-04-29 12:17:56 -07:00
2012-11-13 07:42:04 +01:00
2012-08-29 17:26:46 +02:00
2012-10-09 16:30:09 +02:00
2012-10-04 19:08:03 +02:00
2012-08-24 12:32:28 +02:00
2012-08-24 12:32:28 +02:00
2012-10-10 15:57:35 +02:00
2012-03-16 14:53:15 +01:00
2012-03-16 14:53:15 +01:00
2012-03-16 14:53:15 +01:00
2012-03-16 14:53:15 +01:00
2012-03-16 14:53:15 +01:00
2012-10-22 12:33:19 +02:00
2012-08-24 12:32:29 +02:00
2012-10-31 10:54:25 +01:00
2012-09-05 20:02:31 +02:00
2012-10-04 10:17:12 +02:00
2012-03-16 14:53:19 +01:00
2012-10-23 18:20:24 +02:00
2012-10-04 10:17:12 +02:00
2012-10-22 19:09:08 +02:00
2012-10-04 10:17:12 +02:00
2012-10-25 16:19:34 +02:00
2012-10-04 10:17:12 +02:00
2012-11-02 14:30:32 +01:00
2012-08-29 17:26:42 +02:00
2012-11-28 15:50:34 +01:00
2012-10-04 10:17:13 +02:00
2012-10-04 10:17:12 +02:00
2012-09-12 23:03:58 -05:00
2012-03-16 14:53:18 +01:00
2012-03-16 14:53:18 +01:00
2012-10-22 12:27:55 +02:00
2012-08-24 13:34:51 +02:00
2012-03-15 14:14:31 +01:00
2012-10-04 10:17:13 +02:00
2012-03-29 09:17:53 +02:00
2012-03-29 09:17:53 +02:00
2012-10-11 11:41:15 +02:00
2012-10-04 10:17:12 +02:00
2012-10-11 11:41:15 +02:00
2012-10-04 10:17:12 +02:00
2012-10-11 11:41:15 +02:00
2012-10-04 10:17:12 +02:00
2012-10-11 11:41:15 +02:00
2012-10-04 19:08:03 +02:00
2012-11-02 08:23:11 +01:00
2012-11-02 08:23:11 +01:00
2012-11-02 14:19:15 +01:00
2012-09-14 07:05:26 +02:00
2012-10-30 15:35:33 +01:00
2012-03-15 14:14:39 +01:00
2012-10-11 11:41:15 +02:00
2012-03-16 14:53:24 +01:00
2012-11-02 08:19:30 +01:00
2012-10-30 15:35:33 +01:00
2012-10-30 16:06:27 +01:00
2012-03-16 14:53:23 +01:00
2012-08-29 17:26:46 +02:00
2012-03-15 14:14:21 +01:00
2012-03-16 14:53:18 +01:00
2012-11-02 09:52:31 +01:00
2012-10-15 12:41:33 +02:00
2012-11-27 13:25:25 +01:00
2012-10-22 19:06:49 +02:00
2012-10-30 15:35:58 +01:00
2012-08-06 20:06:45 +02:00
2012-10-30 15:35:58 +01:00
2012-10-30 15:35:58 +01:00
2012-11-27 09:56:25 -06:00
2012-11-27 09:56:25 -06:00
2012-11-27 09:56:25 -06:00
2012-09-05 20:02:31 +02:00
2012-03-15 14:15:05 +01:00
2012-09-05 20:02:31 +02:00
2012-08-06 20:06:46 +02:00
2012-08-06 20:06:46 +02:00
2012-03-16 14:53:22 +01:00
2012-03-16 14:53:22 +01:00
2012-09-18 19:10:05 +02:00
2012-09-08 10:41:01 +02:00
2012-08-24 12:32:29 +02:00
2012-03-16 14:53:22 +01:00
2012-12-03 16:45:41 +01:00
2012-03-16 14:53:23 +01:00
2012-10-11 09:23:49 +02:00
2012-08-29 17:26:41 +02:00
2012-10-04 10:17:12 +02:00
2012-03-16 14:53:18 +01:00
2012-10-04 10:17:12 +02:00
2012-09-14 07:05:26 +02:00
2012-10-04 10:17:12 +02:00
2012-09-14 07:05:26 +02:00
2012-10-11 09:23:49 +02:00
2012-10-04 10:17:12 +02:00
2012-10-04 10:17:12 +02:00
2012-10-04 10:17:12 +02:00