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