[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] 10/31 bluetooth stack modification: src/bluetooth.c



Suggested modification for src/bluetooth.c:

bt_create_connection() line 1072:

Change:   PRINTPKT("bt_connection obj", (u8*)bt, 16);

to:       PRINTPKT("bt_connection obj", (u8*)bt, sizeof(bt_connection));

Since structure padding may cause this structure to occupy 20 bytes
instead of 16 bytes on a 32-bit processor.

Minor nit.

Craig Gwydir

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com