patch-2.4.15 linux/drivers/usb/bluetooth.c
Next file: linux/drivers/usb/catc.c
Previous file: linux/drivers/sound/ymfpci.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Tue Nov 13 09:19:41 2001
- Orig file:
v2.4.14/linux/drivers/usb/bluetooth.c
- Orig date:
Sun Sep 23 11:41:00 2001
diff -u --recursive --new-file v2.4.14/linux/drivers/usb/bluetooth.c linux/drivers/usb/bluetooth.c
@@ -322,9 +322,9 @@
dr->requesttype = BLUETOOTH_CONTROL_REQUEST_TYPE;
dr->request = request;
- dr->value = cpu_to_le16p(&value);
- dr->index = cpu_to_le16p(&bluetooth->control_out_bInterfaceNum);
- dr->length = cpu_to_le16p(&len);
+ dr->value = cpu_to_le16((u16) value);
+ dr->index = cpu_to_le16((u16) bluetooth->control_out_bInterfaceNum);
+ dr->length = cpu_to_le16((u16) len);
FILL_CONTROL_URB (urb, bluetooth->dev, usb_sndctrlpipe(bluetooth->dev, 0),
(unsigned char*)dr, urb->transfer_buffer, len, bluetooth_ctrl_callback, bluetooth);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)