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

[bluetooth-dev] 10/31 bluetooth stack error - bt_connection structure mismatch




In the kernel mode version of the BT stack (ie: non-usermode), there is
an issue about the definition of the "bt_connection" structure.
"bt_connection" is defined in both apps/btd/btd.h and
include/linux/bluetooth/btcommon.h.
The problem is that these structures have not been kept in sync - their
structure members are out of order with respect to each other.
This causes a problem when a bt_connection object is passed from user
space (defined by btd.h) to kernel space (defined by btcommon.h).
The elements are in a different place within the bt_connection object, and
this will cause problems.

The fix is to make sure that the bt_connection structure is exactly the
same between these two header files.


Craig Gwydir

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