Re: [PATCH] Bluetooth: Fix broken usage of put_unaligned_le16

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

 



Hi Anderson,

> > @@ -275,7 +275,7 @@ static int read_version(struct sock *sk, struct hci_dev *hdev, void *data,
> >        BT_DBG("sock %p", sk);
> >
> >        rp.version = MGMT_VERSION;
> > -       put_unaligned_le16(MGMT_REVISION, &rp.revision);
> > +       rp.revision = __constant_cpu_to_le16(MGMT_VERSION);
> 
> Looks like a typo here: MGMT_VERSION -> MGMT_REVISION

yep, that is a stupid typo :(

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux