Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202747
b: refs/heads/master
c: a465a2c
h: refs/heads/master
i:
  202745: 1399d21
  202743: b3e8f62
v: v3
  • Loading branch information
Julia Lawall authored and John W. Linville committed Jun 2, 2010
1 parent 789a39f commit 665a4f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff020726a7e963c3b9fb71825b3c33885022a8f0
refs/heads/master: a465a2cc6eb55908a70e386b729293e9d9e4726e
4 changes: 1 addition & 3 deletions trunk/drivers/net/wireless/ath/ath9k/hif_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -907,12 +907,10 @@ static void ath9k_hif_usb_reboot(struct usb_device *udev)
void *buf;
int ret;

buf = kmalloc(4, GFP_KERNEL);
buf = kmemdup(&reboot_cmd, 4, GFP_KERNEL);
if (!buf)
return;

memcpy(buf, &reboot_cmd, 4);

ret = usb_bulk_msg(udev, usb_sndbulkpipe(udev, USB_REG_OUT_PIPE),
buf, 4, NULL, HZ);
if (ret)
Expand Down

0 comments on commit 665a4f2

Please sign in to comment.