]> err.no Git - linux-2.6/blobdiff - net/bluetooth/l2cap.c
Merge branch 'for-2.6.26' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer...
[linux-2.6] / net / bluetooth / l2cap.c
index a4849f2c1d81aff0287084ea5aff51a294442591..6e180d255505b5ed223dd39cae92cb4d1f287b40 100644 (file)
@@ -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);