public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] [PATCH] align issue of sdpd
@ 2007-12-26 13:58 Louis JANG
  0 siblings, 0 replies; only message in thread
From: Louis JANG @ 2007-12-26 13:58 UTC (permalink / raw)
  To: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

Hi,

Because of alignment issue, sdpd couldn't handle continuation
information correctly in arm architecture. the following is patch for
this issue.

Regards,
Louis JANG


[-- Attachment #2: sdpd.h.patch --]
[-- Type: text/x-patch, Size: 370 bytes --]

--- bluez-utils-3.9/sdpd/sdpd.h.orig	2007-12-26 22:46:40.000000000 +0900
+++ bluez-utils-3.9/sdpd/sdpd.h	2007-12-26 22:47:08.000000000 +0900
@@ -47,7 +47,7 @@
 void register_public_browse_group(int public);
 void register_server_service(int public);
 
-typedef struct {
+typedef struct __attribute__((packed)) {
 	uint32_t timestamp;
 	union {
 		uint16_t maxBytesSent;

[-- Attachment #3: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #4: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-26 13:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-26 13:58 [Bluez-devel] [PATCH] align issue of sdpd Louis JANG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox