Skip to contentSkip to conversation

align issue of sdpd

PATCH New Louis JANG 1 participant 1 message Dec 26, 2007 Bluetooth drivers

lore
Share & tools
lore

Louis JANG

author
#0 lore raw

PATCH 1/1 align issue of sdpd

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

sdpd/sdpd.h renamed from sdpd/sdpd.h.orig +1 -1
@@ -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;

-------------------------------------------------------------------------
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/

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel