Paolo Bonzini 98475746b3 bt: check struct sizes
See http://permalink.gmane.org/gmane.linux.bluez.kernel/36505.  For historical
reasons these do not use sizeof, and Coverity caught a mistake in
EVT_ENCRYPT_CHANGE_SIZE.

In addition:

- remove status from create_conn_cancel_cp; the "status" field is only
in rp structs.  Note that this means that the OCF_CREATE_CONN_CANCEL
could never have worked (it would have failed the LENGTH_CHECK), but
I am keeping it anyway.

- OCF_READ_LINK_QUALITY similarly could never have worked, but I am
fixing read_link_quality_cp anyway.

- fix inquiry_info which is shorter by one: the kernel has a struct that
is 14 byte long, but not counting the initial num_responses byte which
the kernel parses separately;

- remove extended_inquiry_info altogether, since it's not used and unlike
the other inquiry structs does not have the initial num_responses byte.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-12-04 09:39:55 +03:00
..
2013-06-07 14:55:33 +02:00
2015-10-02 16:22:02 -03:00
2014-02-03 14:04:00 +00:00
2015-09-14 14:39:49 +01:00
2015-09-07 10:39:30 +01:00
2015-09-09 15:34:53 +02:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00
2015-06-11 10:13:30 +01:00
2015-09-07 10:39:30 +01:00
2015-10-19 15:26:53 +02:00
2015-10-29 11:17:53 +02:00
2015-12-04 09:39:55 +03:00
2015-09-07 10:39:28 +01:00
2015-09-25 14:56:05 +02:00
2013-04-08 18:13:10 +02:00
2015-12-04 09:39:55 +03:00
2015-11-12 15:25:40 +00:00
2015-09-25 12:04:43 +02:00
2013-04-08 18:13:10 +02:00
2015-01-15 10:44:13 +03:00
2014-10-23 16:41:25 +02:00
2014-10-24 12:19:11 +01:00
2015-07-13 14:42:24 +03:00
2013-04-08 18:13:10 +02:00
2014-05-28 17:36:21 +02:00
2013-05-01 20:55:21 +04:00
2015-07-06 12:15:14 -06:00
2015-04-30 16:05:48 +03:00