Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180629
b: refs/heads/master
c: 31e5d4a
h: refs/heads/master
i:
  180627: 1265013
v: v3
  • Loading branch information
Brian Niebuhr authored and Greg Kroah-Hartman committed Feb 16, 2010
1 parent fc41b19 commit 0a62cb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: dd091c7b3280d4811b855d034fa91519fd3485ef
refs/heads/master: 31e5d4abceaa3d11ff583ddf76ec292e90eacb7d
3 changes: 1 addition & 2 deletions trunk/drivers/usb/gadget/f_eem.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ static struct sk_buff *eem_wrap(struct gether *port, struct sk_buff *skb)
* b15: bmType (0 == data)
*/
len = skb->len;
put_unaligned_le16((len & 0x3FFF) | BIT(14), skb_push(skb, 2));
put_unaligned_le16(len & 0x3FFF, skb_push(skb, 2));

/* add a zero-length EEM packet, if needed */
if (padlen)
Expand Down Expand Up @@ -464,7 +464,6 @@ static int eem_unwrap(struct gether *port,
}

/* validate CRC */
crc = get_unaligned_le32(skb->data + len - ETH_FCS_LEN);
if (header & BIT(14)) {
crc = get_unaligned_le32(skb->data + len
- ETH_FCS_LEN);
Expand Down

0 comments on commit 0a62cb9

Please sign in to comment.