diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-05-02 16:25:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-02 16:25:46 -0700 |
commit | 83985319393973f280ca2a797047780a7955cf19 (patch) | |
tree | 438e92affd9c605188404e920b8605670d0d6ab0 /net/bluetooth/l2cap.c | |
parent | 260ffeed3fd185d29f08e98fb47c09e71bb59cd8 (diff) | |
download | kernel_samsung_tuna-83985319393973f280ca2a797047780a7955cf19.zip kernel_samsung_tuna-83985319393973f280ca2a797047780a7955cf19.tar.gz kernel_samsung_tuna-83985319393973f280ca2a797047780a7955cf19.tar.bz2 |
bluetooth: use get/put_unaligned_* helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth/l2cap.c')
-rw-r--r-- | net/bluetooth/l2cap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index a4849f2..6e180d2 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c @@ -1827,7 +1827,7 @@ static inline int l2cap_information_rsp(struct l2cap_conn *conn, struct l2cap_cm del_timer(&conn->info_timer); if (type == L2CAP_IT_FEAT_MASK) - conn->feat_mask = __le32_to_cpu(get_unaligned((__le32 *) rsp->data)); + conn->feat_mask = get_unaligned_le32(rsp->data); l2cap_conn_start(conn); |